yongjhih / docker-parse-server

Provide docker images and docker stack for parse-server npm versions and latest commit
https://hub.docker.com/r/yongjhih/parse-server/
Apache License 2.0
475 stars 166 forks source link

docker-compose -f docker-compose-le.yml up fail if run twice #41

Closed cleever closed 8 years ago

cleever commented 8 years ago

If I run docker-compose -f docker-compose-le.yml up

the first time runs ok.

But if I need to run again, this error occurs:

nginx | 2016/05/12 03:26:09 [emerg] 1#1: open() "/etc/nginx/vhost.d/default" failed (2: No such file or directory) in /etc/nginx/conf.d/default.conf:56 nginx | nginx: [emerg] open() "/etc/nginx/vhost.d/default" failed (2: No such file or directory) in /etc/nginx/conf.d/default.conf:56

And https stops working.

So it's need to delete all containers do work again

with:

docker rm -f $(docker ps -a -q)

yongjhih commented 8 years ago
docker-compose -f docker-compose-le.yml restart
cleever commented 8 years ago

Will restart command read all modified configuration and reconfigure containers and settings?

yongjhih commented 8 years ago

Should be