docker-json-server icon indicating copy to clipboard operation
docker-json-server copied to clipboard

JSON Server docker image, REST API mocking based on plain JSON

Results 16 docker-json-server issues
Sort by recently updated
recently updated
newest added

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`...

Hello, For some reason I keep getting the error of "Error: Data must be an object." when running through docker, but not if I just start json-server normally through cli....

See https://github.com/typicode/json-server#add-custom-routes

I passed the --watch argument. when db.json file changes in host machine the changes also obviously reflects inside docker container /data/db.json since volume mounted. But it still supplies the old...

'-v' option does 'bind mount a volume', not bind file to file. User should locate db.json or article.json file under /home/user then, it would be referred by json-server in docker....

Should be as simple as a file like the following into a file called `docker-compose.yml`: ``` docker-compose json_server: build: . command: 'sh run.sh' working_dir: /data ports: - '80:80' ``` Then,...

Hi, just a suggestion for the readme.md. In my setup, the host file db.json was not updated after I added data using the REST API. This was resolved when I...

I tried to clone your repository and tried to build docker image. When I tried to run newly built docker image, Server which is running inside docker container was not...