Skip to content

Docker

Terminal window
docker run -d \
--name wcp \
--restart unless-stopped \
-p 8000:8000 \
-v wcp_data:/data \
-e WCP_DB_PATH=/data/sync.db \
-e WCP_CONFIG_PATH=/data/config.json \
ghcr.io/lucasmella-stack/wcp:latest
VariableDefaultDescription
WCP_DB_PATH/data/sync.dbSQLite database path
WCP_CONFIG_PATH/data/config.jsonJSON config path
WCP_CORS_ORIGINS*Comma-separated allowed origins
WCP_PORT8000HTTP port
Terminal window
git clone https://github.com/lucasmella-stack/WCP.git
cd WCP
docker build -t wcp:local .
docker run -d -p 8000:8000 -v wcp_data:/data wcp:local

The Dockerfile includes a built-in health check:

HEALTHCHECK --interval=30s --timeout=5s \
CMD curl -f http://localhost:8000/health || exit 1

All data is stored in the /data volume:

/data/
├── sync.db # SQLite: connections, links, logs, conflicts
└── config.json # Optional static config

Back up this volume to preserve all your sync history and connections.