43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
services:
|
|
mealie:
|
|
image: ghcr.io/mealie-recipes/mealie:latest
|
|
container_name: mealie
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${MEALIE_PORT}:9000"
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: ${MEMORY_LIMIT}
|
|
volumes:
|
|
- ${DATA_DIR}/data:/app/data/
|
|
- ${DATA_DIR}/config/addons_config/mealie/config.yaml:/config/config.yaml
|
|
environment:
|
|
- ALLOW_SIGNUP=${ALLOW_SIGNUP}
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- TZ=${TZ}
|
|
- MAX_WORKERS=${MAX_WORKERS}
|
|
- WEB_CONCURRENCY=${WEB_CONCURRENCY}
|
|
- BASE_URL=${BASE_URL}
|
|
# Email Settings
|
|
- SMTP_HOST=${SMTP_HOST}
|
|
- SMTP_PORT=${SMTP_PORT}
|
|
- SMTP_FROM_NAME=${SMTP_FROM_NAME}
|
|
- SMTP_AUTH_STRATEGY=${SMTP_AUTH_STRATEGY}
|
|
- SMTP_FROM_EMAIL=${SMTP_FROM_EMAIL}
|
|
- SMTP_USER=${SMTP_USER}
|
|
- SMTP_PASSWORD=${SMTP_PASSWORD}
|
|
networks:
|
|
- external
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:9000"]
|
|
interval: 10s
|
|
retries: 3
|
|
timeout: 10s
|
|
start_period: 30s
|
|
|
|
networks:
|
|
external:
|
|
external: true
|