mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-27 07:31:40 +01:00
fix json-server (FIX #187)
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
json-server:
|
||||
image: vimagick/json-server
|
||||
command: -H 0.0.0.0 -p 3000 -w db.json
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
restart: always
|
||||
version: "3.8"
|
||||
services:
|
||||
json-server:
|
||||
image: vimagick/json-server
|
||||
command: -H 0.0.0.0 -p 3000 -w db.json
|
||||
init: true
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user