Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkorotkov committed Sep 27, 2024
1 parent edd789a commit 3b730fe
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ services:
max-size: 100k
max-file: 1
restart: always
deploy:
resources:
limits:
cpus: '0.2'
memory: 200M

mongodb:
image: mongo:latest
Expand All @@ -37,6 +42,11 @@ services:
max-size: 100k
max-file: 1
restart: always
deploy:
resources:
limits:
cpus: '0.2'
memory: 200M

app:
container_name: TelegramBot
Expand All @@ -61,6 +71,11 @@ services:
max-size: 100k
max-file: 1
restart: always
deploy:
resources:
limits:
cpus: '0.1'
memory: 100M

worker:
depends_on:
Expand All @@ -78,7 +93,11 @@ services:
networks:
- app-network
deploy:
replicas: 3
replicas: 2
resources:
limits:
cpus: '0.2'
memory: 200M
logging:
driver: json-file
options:
Expand Down

0 comments on commit 3b730fe

Please sign in to comment.