mirror of
https://github.com/jcreek/OpenNetworkDiagram.git
synced 2026-07-13 02:53:45 +00:00
chore(#5): switch to node runtime and update tooling/docs for persistence
This commit is contained in:
+5
-2
@@ -5,7 +5,10 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
image: open-network-diagram:local
|
||||
ports:
|
||||
- "8080:80"
|
||||
- "8080:3000"
|
||||
volumes:
|
||||
- ./data:/usr/share/nginx/html/data:ro
|
||||
- ./data:/app/data
|
||||
environment:
|
||||
NETWORK_DATA_FILE: "/app/data/network.json"
|
||||
NETWORK_BACKUP_DIR: "/app/data/.backups"
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user