Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 19 additions & 11 deletions Apps/Mealie/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,36 +3,44 @@ name: mealie

services:
mealie:
image: ghcr.io/mealie-recipes/mealie:v3.5.0
image: ghcr.io/mealie-recipes/mealie:v3.11.0
container_name: mealie
restart: unless-stopped
user: $PUID:$PGID
expose:
- 80 # Default port for Mealie v3
labels:
- "caddy=mealie-${APP_DOMAIN}"
- "caddy.reverse_proxy={{upstreams 80}}"
environment:
PUID: $PUID # Process user ID
PGID: $PGID # Process group ID
TZ: $TZ # Timezone setting
LOG_LEVEL: warning
API_PORT: 80
BASE_URL: https://mealie-$domain # Set base URL for proper routing
BASE_URL: https://mealie-${APP_DOMAIN} # Set base URL for proper routing

networks:
- pcs
cpu_shares: 70
deploy:
resources:
limits:
memory: 1G
reservations:
memory: 512M
volumes:
- /DATA/AppData/mealie/data/:/app/data
healthcheck:
test: ["CMD", "timeout", "5", "bash", "-c", "cat < /dev/null > /dev/tcp/localhost/80"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s

networks:
pcs:
external: true

x-casaos:
main: mealie
store_app_id: mealie
webui_port: 80
index: /
pre-install-cmd: |
mkdir -p /DATA/AppData/mealie/data &&
chown -R $PUID:$PGID /DATA/AppData/mealie

icon: https://cdn.jsdelivr.net/gh/Yundera/AppStore@main/Apps/Mealie/icon.png
screenshot_link:
Expand Down