Skip to content

Commit 69b9230

Browse files
committed
feat(docker): Ограничение ресурсов для Redis
1 parent 24b6954 commit 69b9230

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ services:
6363
networks:
6464
- stp_bots
6565

66+
deploy:
67+
resources:
68+
limits:
69+
cpus: "0.50"
70+
memory: 128M
71+
reservations:
72+
memory: 64M
73+
6674
volumes:
6775
cache: { }
6876

0 commit comments

Comments
 (0)