diff --git a/Doku/docker-compose.yaml b/Doku/docker-compose.yaml index 1d251c3..54c9ad4 100644 --- a/Doku/docker-compose.yaml +++ b/Doku/docker-compose.yaml @@ -1,5 +1,5 @@ services: - doku: + app: image: amerkurev/doku:latest container_name: doku volumes: @@ -7,4 +7,8 @@ services: - /:/hostroot:ro ports: - ${DOKU_PORT}:9090 + deploy: + resources: + limits: + memory: 512m restart: unless-stopped \ No newline at end of file diff --git a/Draw.io/docker-compose.yaml b/Draw.io/docker-compose.yaml index b3126fb..7ae93e1 100644 --- a/Draw.io/docker-compose.yaml +++ b/Draw.io/docker-compose.yaml @@ -1,15 +1,19 @@ services: - drawio: + app: 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 + deploy: + resources: + limits: + memory: 512m + restart: unless-stopped \ No newline at end of file