Update Food_Containers/mealie/compose.yaml

This commit is contained in:
2026-09-14 22:42:56 +00:00
parent 0b80755d84
commit 5e8094cd7e
+30 -3
View File
@@ -1,20 +1,46 @@
services:
mealie:
image: ghcr.io/mealie-recipes/mealie:latest
image: ghcr.io/mealie-recipes/mealie:v3.5.0 # :latest is broken 9-14-26
container_name: mealie
restart: unless-stopped
deploy:
resources:
limits:
memory: 1000M
memory: 1500M
volumes:
- /srv/docker/mealie/mealie-data:/app/data/
environment:
# Set Backend ENV Variables Here
# --- General ---
BASE_URL: https://${SERVICE_NAME}.${DOMAIN_NAME}
ALLOW_SIGNUP: "false"
PUID: 1000
PGID: 1000
TZ: America/Chicago
API_DOCS: "false"
LOG_LEVEL: info
DAILY_SCHEDULE_TIME: "03:15"
TOKEN_TIME: 168
# --- Security ---
SECURITY_MAX_LOGIN_ATTEMPTS: 5
SECURITY_USER_LOCKOUT_TIME: 24
# --- Database ---
SQLITE_MIGRATE_JOURNAL_WAL: "true"
# --- Email ---
SMTP_HOST: ${SMTP_HOST}
SMTP_PORT: ${SMTP_PORT}
SMTP_FROM_NAME: Mealie
SMTP_FROM_EMAIL: ${SMTP_FROM_EMAIL}
SMTP_AUTH_STRATEGY: TLS
SMTP_USER: ${SMTP_USER}
SMTP_PASSWORD: ${SMTP_PASSWORD}
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/api/app/about"]
interval: 60s
timeout: 5s
retries: 3
start_period: 60s
networks:
- traefik_network
labels:
@@ -29,6 +55,7 @@ services:
- traefik.http.routers.${SERVICE_NAME}-https.tls.certresolver=cloudflare
- traefik.http.routers.${SERVICE_NAME}-https.entrypoints=websecure
- traefik.http.routers.${SERVICE_NAME}-https.rule=Host(`${SERVICE_NAME}.${DOMAIN_NAME}`)
- traefik.http.services.${SERVICE_NAME}.loadbalancer.server.port=9000
### Monitor with uptime-kuma
- kuma.monitoring.group.name=Docker Containers
- kuma.${SERVICE_NAME}.docker.parent_name=monitoring