Skip to content

Commit

Permalink
ops(compose): update resource limits and reservations
Browse files Browse the repository at this point in the history
  • Loading branch information
WarriorsSami committed Mar 13, 2024
1 parent a30c434 commit b111652
Showing 1 changed file with 122 additions and 122 deletions.
244 changes: 122 additions & 122 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ services:
- odin
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

odin-api-gateway-dapr:
container_name: odin-api-gateway-dapr
Expand Down Expand Up @@ -127,12 +127,12 @@ services:
- quetzalcoatl
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

quetzalcoatl-auth-dapr:
container_name: quetzalcoatl-auth-dapr
Expand Down Expand Up @@ -170,12 +170,12 @@ services:
- quetzalcoatl
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 128M
reservations:
memory: 64M
# deploy:
# resources:
# limits:
# memory: 128M
# reservations:
# memory: 64M

quetzalcoatl-mssql-db:
container_name: quetzalcoatl-mssql-db
Expand All @@ -192,12 +192,12 @@ services:
- quetzalcoatl
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 1024M
reservations:
memory: 512M
# deploy:
# resources:
# limits:
# memory: 1024M
# reservations:
# memory: 512M

############ ENKI ############

Expand Down Expand Up @@ -225,12 +225,12 @@ services:
- enki
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

enki-problems-dapr:
container_name: enki-problems-dapr
Expand Down Expand Up @@ -268,12 +268,12 @@ services:
- enki
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 128M
reservations:
memory: 64M
# deploy:
# resources:
# limits:
# memory: 128M
# reservations:
# memory: 64M

enki-mongo-db:
container_name: enki-mongo-db
Expand Down Expand Up @@ -301,12 +301,12 @@ services:
- enki
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 1024M
reservations:
memory: 512M
# deploy:
# resources:
# limits:
# memory: 1024M
# reservations:
# memory: 512M

############ HERMES ############

Expand All @@ -325,12 +325,12 @@ services:
- hermes
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

hermes-tests-dapr:
container_name: hermes-tests-dapr
Expand Down Expand Up @@ -366,12 +366,12 @@ services:
- hermes
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 128M
reservations:
memory: 64M
# deploy:
# resources:
# limits:
# memory: 128M
# reservations:
# memory: 64M

############ ANUBIS ############

Expand All @@ -395,12 +395,12 @@ services:
- anubis
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

anubis-eval-dapr:
container_name: anubis-eval-dapr
Expand Down Expand Up @@ -438,12 +438,12 @@ services:
- anubis
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 128M
reservations:
memory: 64M
# deploy:
# resources:
# limits:
# memory: 128M
# reservations:
# memory: 64M

anubis-psql-db:
container_name: anubis-psql-db
Expand All @@ -460,12 +460,12 @@ services:
- anubis
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 1024M
reservations:
memory: 512M
# deploy:
# resources:
# limits:
# memory: 1024M
# reservations:
# memory: 512M

############ JUDGE0 ############

Expand All @@ -484,12 +484,12 @@ services:
- judge0
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M


server:
Expand All @@ -515,8 +515,8 @@ services:
deploy:
replicas: 2
resources:
limits:
memory: 512M
# limits:
# memory: 512M
reservations:
memory: 128M

Expand Down Expand Up @@ -549,12 +549,12 @@ services:
- judge0
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 1024M
reservations:
memory: 512M
# deploy:
# resources:
# limits:
# memory: 1024M
# reservations:
# memory: 512M

redis:
image: redis:6.0
Expand All @@ -573,12 +573,12 @@ services:
- judge0
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

############ DAPR ############

Expand All @@ -600,12 +600,12 @@ services:
- dapr
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

asgard-redis:
container_name: asgard-redis
Expand All @@ -619,12 +619,12 @@ services:
- dapr
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

asgard-rabbitmq:
container_name: asgard-rabbitmq
Expand All @@ -640,12 +640,12 @@ services:
- dapr
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

asgard-zipkin:
container_name: asgard-zipkin
Expand All @@ -657,12 +657,12 @@ services:
- dapr
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

asgard-dapr-config:
container_name: asgard-dapr-config
Expand All @@ -674,12 +674,12 @@ services:
- dapr
- asgard
- pantheonix
deploy:
resources:
limits:
memory: 512M
reservations:
memory: 128M
# deploy:
# resources:
# limits:
# memory: 512M
# reservations:
# memory: 128M

############ VOLUMES ############

Expand Down

0 comments on commit b111652

Please sign in to comment.