web container wont come up after "docker compose down"
mamirpanah opened this issue · comments
It seems after 1-"docker compose down" and 2-"docker compose up -d" the web container wont come up again and keeps restarting because when removing docker containers with compose, the default network is removed also and I think there is something wrong with web container ip or uid that is stored in the code and make web container restarting.
Solution: I have added external network to the docker-compose.yml and after "docker compose down" the network persists and web container can come up again after "docker compose up -d".
I have forked this repo and made changes FYI
https://github.com/mamirpanah/shadowsocks-hub