1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/json-server/docker-compose.yml
2024-02-06 22:02:53 +08:00

12 lines
232 B
YAML

version: "3.8"
services:
json-server:
image: vimagick/json-server
command: -h 0.0.0.0 -p 3000 -s ./public db.json
init: true
ports:
- "3000:3000"
volumes:
- ./data:/data
restart: unless-stopped