container: update example compose config

This commit is contained in:
naskya 2024-06-28 23:49:02 +09:00
parent 31b8f3c857
commit ddb6048f8c
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -27,10 +27,10 @@ services:
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 5
deploy: # deploy:
resources: # resources:
limits: # limits:
memory: 4096M # memory: 2048M
redis: redis:
restart: unless-stopped restart: unless-stopped
@ -45,11 +45,10 @@ services:
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 5
# deploy: # deploy:
# resources: # resources:
# limits: # limits:
# memory: 200M # memory: 256M
db: db:
restart: unless-stopped restart: unless-stopped
@ -66,10 +65,10 @@ services:
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 5 retries: 5
# deploy: # deploy:
# resources: # resources:
# limits: # limits:
# memory: 200M # memory: 2048M
networks: networks:
calcnet: calcnet: