2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-04 20:14:56 +01:00

fix json-server -H 0.0.0.0 (FIX #88, #91)

This commit is contained in:
kev
2019-03-17 13:11:04 +08:00
parent 17f8b8927a
commit 8277c9e8ba
4 changed files with 6 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
json-server:
image: vimagick/json-server
command: -w db.json
command: -H 0.0.0.0 -p 3000 -w db.json
ports:
- "3000:3000"
volumes:
- ./db.json:/app/db.json
- ./data:/data
restart: always