Updated some of the apps to be better managed and deployed
This commit is contained in:
@@ -1,9 +1,16 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
doku:
|
||||||
image: amerkurev/doku:latest
|
image: amerkurev/doku:latest
|
||||||
|
container_name: doku
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro \
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- /:/hostroot:ro \
|
- /:/hostroot:ro
|
||||||
ports:
|
ports:
|
||||||
- ${DOKU_PORT}:9090
|
- ${DOKU_PORT}:9090
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "wget -qO- http://localhost:9090/ || exit 1"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 10s
|
||||||
|
|||||||
@@ -1,2 +1,6 @@
|
|||||||
# Main interface port for accessing the application
|
# 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"
|
||||||
|
|||||||
@@ -1,6 +1,15 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
drawio:
|
||||||
image: jgraph/drawio:latest
|
image: jgraph/drawio:latest
|
||||||
|
container_name: drawio
|
||||||
ports:
|
ports:
|
||||||
- ${DRAWIO_PORT}:8080
|
- ${DRAWIO_PORT}:8080
|
||||||
|
environment:
|
||||||
|
- DRAWIO_SELF_CONTAINED=${DRAWIO_SELF_CONTAINED:-0}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "curl -f http://localhost:8080/ || exit 1"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
start_period: 30s
|
||||||
|
|||||||
Reference in New Issue
Block a user