Correct syntax of memory limit in docker-compose.yml

This commit is contained in:
Saba 2022-07-06 20:07:11 -04:00
parent 7bb35ccc7e
commit 2eb44c7a64

View file

@ -31,6 +31,6 @@ services:
deploy:
resources:
limits:
memory: 8GB
memory: 8g
# Use 0.0.0.0 to explicitly set the host ip for the service on the container. https://pythonspeed.com/articles/docker-connection-refused/
command: --host="0.0.0.0" --port=8000 -c=config/sample_config.yml -vv