mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
12 lines
232 B
YAML
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
|