celery-docker icon indicating copy to clipboard operation
celery-docker copied to clipboard

docker-compose.yml Fixes

Open bamartin125 opened this issue 6 years ago • 0 comments

I followed the tutorial originally posted and soon after decided to do some testing on the result. I found that the data stored by minio was not persistent across restarts of the service. I ended up finding a bug in the compose file regarding the minio storage path.

I started to also question how the docker-compose.yml file could be simplified. I found that I could remove the app directory mounts because the necessary files had already been copied into the docker images.

I began experimenting with docker stack which takes some slightly different syntax regarding the restart policy as well as not allowing the build key. I decided to create a docker-stack.yml file for myself and wanted to give back to the tutorial if it indeed adds benefit.

bamartin125 avatar Jul 01 '19 19:07 bamartin125