Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f96ac50881 | |||
| 1af5735f9b |
@@ -7,4 +7,8 @@ services:
|
|||||||
- /:/hostroot:ro
|
- /:/hostroot:ro
|
||||||
ports:
|
ports:
|
||||||
- ${DOKU_PORT}:9090
|
- ${DOKU_PORT}:9090
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 512m
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@@ -1,15 +1,19 @@
|
|||||||
services:
|
services:
|
||||||
drawio:
|
app:
|
||||||
image: jgraph/drawio:latest
|
image: jgraph/drawio:latest
|
||||||
container_name: drawio
|
container_name: drawio
|
||||||
ports:
|
ports:
|
||||||
- ${DRAWIO_PORT}:8080
|
- ${DRAWIO_PORT}:8080
|
||||||
environment:
|
environment:
|
||||||
- DRAWIO_SELF_CONTAINED=${DRAWIO_SELF_CONTAINED:-0}
|
- DRAWIO_SELF_CONTAINED=${DRAWIO_SELF_CONTAINED:-0}
|
||||||
restart: unless-stopped
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/ || exit 1"]
|
test: ["CMD-SHELL", "curl -f http://localhost:8080/ || exit 1"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 30s
|
start_period: 30s
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 512m
|
||||||
|
restart: unless-stopped
|
||||||
Reference in New Issue
Block a user