docker-json-server
docker-json-server copied to clipboard
Opening to other than localhost
I had an issue when using the default configuration threw a Docker Swarm.
I couldn't access the services becaus json-server was listening only to localhost.
Could you bring -H 0.0.0.0 on the run.sh by default so others won't have the same problem ?
args="$@ -H 0.0.0.0 -p 80"
Hi @LoicC04 @Jehadnasser
I just created another version of docker-json-server. It comes with much flexibility just like json-server as CLI. And also it's the last update.
It might be helpful for you 🌹