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