2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-27 15:41:38 +01:00

update json-server

This commit is contained in:
kevin
2024-02-06 22:02:53 +08:00
parent 60e02c1428
commit 539599f14e
4 changed files with 52 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ version: "3.8"
services:
json-server:
image: vimagick/json-server
command: -H 0.0.0.0 -p 3000 -w db.json
command: -h 0.0.0.0 -p 3000 -s ./public db.json
init: true
ports:
- "3000:3000"