Added Docker Support
This commit is contained in:
17
compose.yaml
Normal file
17
compose.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
sync-server:
|
||||
container_name: obsidian-sync-server
|
||||
build:
|
||||
context: .
|
||||
dockerfile: apps/sync-server/Dockerfile
|
||||
environment:
|
||||
PORT: 8787
|
||||
SYNC_DATA_DIR: /app/data
|
||||
ports:
|
||||
- "${OBSIDIAN_SYNC_PORT:-8787}:8787"
|
||||
volumes:
|
||||
- obsidian-sync-data:/app/data
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
obsidian-sync-data:
|
||||
Reference in New Issue
Block a user