Skip to content

Commit

Permalink
prod: discord-bot limit resources
Browse files Browse the repository at this point in the history
  • Loading branch information
cyri113 authored Feb 6, 2024
1 parent c2b837d commit 304f888
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion production/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
version: '3.9'

x-sm-resources-common:
&sm-resources-common
deploy:
resources:
limits:
cpus: '1'
memory: 1G

x-md-resources-common:
&md-resources-common
deploy:
resources:
limits:
cpus: '2'
memory: 2G

x-lg-resources-common:
&lg-resources-common
deploy:
resources:
limits:
cpus: '2'
memory: 4G

x-logging:
&logging
logging:
Expand Down Expand Up @@ -181,7 +205,7 @@ services:
networks:
- production
- monitoring
<<: *logging
<<: [*logging, *sm-resources-common]s

discord-analyzer-server:
image: ghcr.io/togethercrew/discord-analyzer:main
Expand Down

0 comments on commit 304f888

Please sign in to comment.