Update docker-compose.yml

This commit is contained in:
2024-11-08 17:02:46 +00:00
parent 488bb99c1a
commit bfcc6d7ffe
+4
View File
@@ -11,6 +11,8 @@ services:
networks:
- quiz-network
restart: always
cpu_period: 100000 # Default is 100,000 microseconds (100ms)
cpu_quota: 5000 # 5% of the total CPU time
backend:
build:
context: ./backend
@@ -23,6 +25,8 @@ services:
networks:
- quiz-network
restart: always
cpu_period: 100000 # Default is 100,000 microseconds (100ms)
cpu_quota: 5000 # 5% of the total CPU time
networks:
quiz-network: # Define the network