Updated some of the apps to be better managed and deployed

This commit is contained in:
2026-03-19 00:12:22 -07:00
parent 5219c94dc7
commit 6f7deae721
3 changed files with 30 additions and 10 deletions

View File

@@ -1,2 +1,6 @@
# Main interface port for accessing the application
DRAWIO_PORT="8000"
DRAWIO_PORT="8000"
# Enable local PDF/image export without relying on an external service
# Set to 1 to enable, 0 or omit to disable
DRAWIO_SELF_CONTAINED="0"

View File

@@ -1,6 +1,15 @@
services:
app:
image: jgraph/drawio:latest
ports:
- ${DRAWIO_PORT}:8080
restart: unless-stopped
drawio:
image: jgraph/drawio:latest
container_name: drawio
ports:
- ${DRAWIO_PORT}:8080
environment:
- DRAWIO_SELF_CONTAINED=${DRAWIO_SELF_CONTAINED:-0}
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:8080/ || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s