Skip to content

Commit 18e5355

Browse files
author
Raffael Herrmann
committed
Add docker-compose.yml with volume mount for db.json
1 parent be5d10e commit 18e5355

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: '3.8'
2+
3+
services:
4+
masscode-web:
5+
build: .
6+
ports:
7+
- "8080:80"
8+
volumes:
9+
- ./db.json:/usr/share/nginx/html/data/db.json:ro
10+
restart: unless-stopped

0 commit comments

Comments
 (0)