Files
Docker-01/Mealie/docker-compose.yml
T
2026-07-20 09:23:01 -04:00

43 lines
1.8 KiB
YAML

services:
mealie:
image: ghcr.io/mealie-recipes/mealie:latest # Specifies the Mealie Docker i>
container_name: mealie # Names the container for easier>
ports:
- "9200:9000" # Maps port 9925 on the host to >
deploy:
resources:
limits:
memory: 1000M # Limits the container to use a >
volumes:
- /opt/Docker-Deployments/Mealie/data:/app/data/ # Persists data in>
- /opt/Docker-Deployments/Mealie/config/addons_config/mealie/config.yaml:/config/config.yanl
environment:
- ALLOW_SIGNUP=false # Allows new user signups on the>
- PUID=1000 # Sets the user ID for the conta>
- PGID=1000 # Sets the group ID for the cont>
- TZ=America/New_York # Sets the timezone for the cont>
- MAX_WORKERS=1 # Limits the number of workers t>
- WEB_CONCURRENCY=1 # Sets the concurrency level for>
- BASE_URL=mealie.mikemcfetridge.com # The base URL where Mealie is a>
# Email Settings
- SMTP_HOST=mail.mmcfetridge.net
- SMTP_PORT=465
- SMTP_FROM_NAME=miker@mmcfetridge.net
- SMTP_AUTH_STRATEGY=TLS
- SMTP_FROM_EMAIL=miker@mmcfetridge.net
- SMTP_USER=miker@mmcfetridge.net
- SMTP_PASSWORD="!Sucyetat123"
networks:
- external
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000"]
interval: 10s
retries: 3
timeout: 10s
start_period: 30s
networks:
external:
external: true # Tells Compose not to create this network