добавил ограничения производительности для контейнера
This commit is contained in:
parent
827b178caa
commit
638dc529da
@ -10,3 +10,13 @@ services:
|
||||
environment:
|
||||
- SECRET_KEY=your-secret-key
|
||||
restart: always
|
||||
ports:
|
||||
- "5000:5000"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 512M
|
||||
cpus: "0.5"
|
||||
reservations:
|
||||
memory: 128M
|
||||
cpus: "0.2"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user