This commit is contained in:
2025-02-20 12:32:57 +03:00
parent c22085eeb3
commit cb4300c801
6 changed files with 138 additions and 134 deletions
+8 -2
View File
@@ -6,15 +6,21 @@ services:
container_name: schedule_bot
environment:
- ENV=production
- TZ=Europe/Moscow
restart: unless-stopped
networks:
- postgres_postgres
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
deploy:
resources:
limits:
cpus: '0.3'
memory: 200M
memory: 300M # Set a hard memory limit
reservations:
memory: 200M # Reserve a soft memory limit
networks:
postgres_postgres:
external: true
external: true