Update docker-compose.yml
This commit is contained in:
@@ -11,6 +11,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- quiz-network
|
- quiz-network
|
||||||
restart: always
|
restart: always
|
||||||
|
cpu_period: 100000 # Default is 100,000 microseconds (100ms)
|
||||||
|
cpu_quota: 5000 # 5% of the total CPU time
|
||||||
backend:
|
backend:
|
||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
@@ -23,6 +25,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- quiz-network
|
- quiz-network
|
||||||
restart: always
|
restart: always
|
||||||
|
cpu_period: 100000 # Default is 100,000 microseconds (100ms)
|
||||||
|
cpu_quota: 5000 # 5% of the total CPU time
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
quiz-network: # Define the network
|
quiz-network: # Define the network
|
||||||
Reference in New Issue
Block a user