diff --git a/templates/compose/mealie.yaml b/templates/compose/mealie.yaml index bc30b6e11..2cf66de3c 100644 --- a/templates/compose/mealie.yaml +++ b/templates/compose/mealie.yaml @@ -7,18 +7,18 @@ services: mealie: image: 'ghcr.io/mealie-recipes/mealie:latest' - volumes: - - SERVICE_FQDN_MEALIE_9000 - - '${COOLIFY_VOLUME_APP}:/app/data/' environment: - ALLOW_SIGNUP: 'false' - PUID: 1000 - PGID: 1000 - # TZ: Europe/Berlin - MAX_WORKERS: 1 - WEB_CONCURRENCY: 1 + - SERVICE_FQDN_MEALIE_9000 + - ALLOW_SIGNUP=${ALLOW_SIGNUP:-true} + - PUID=${PUID:-1000} + - PGID=${PGID:-1000} + - TZ=${TZ:-Europe/Berlin} + - MAX_WORKERS=${MAX_WORKERS:-1} + - WEB_CONCURRENCY=${WEB_CONCURRENCY:-1} + volumes: + - mealie_data:/app/data healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:9000"] + test: ["CMD-SHELL", "bash -c ':> /dev/tcp/127.0.0.1/9000' || exit 1"] interval: 5s - timeout: 20s - retries: 10 + timeout: 10s + retries: 5