created mealie

This commit is contained in:
2026-05-21 00:45:37 -07:00
parent c8cf83a1c9
commit 11e96df3eb
2 changed files with 69 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
# Mealie Docker Compose (NFS) - Environment Variables
# Copy this file to .env and fill in your values
# --- Image ---
# Mealie image tag (use a specific version for stability, or 'latest')
MEALIE_VERSION=latest
# --- Permissions ---
# User and group ID that Mealie runs as (match your host user to avoid permission issues)
MEALIE_PUID=1000
MEALIE_PGID=1000
# --- Network ---
# Host port to expose the Mealie web UI on
MEALIE_PORT=9000
# --- Application ---
# Full public URL where Mealie is accessible (used for links in emails and API responses)
MEALIE_BASE_URL=https://mealie.yourdomain.com
# Timezone for the container (affects scheduled tasks and timestamps)
MEALIE_TZ=America/Los_Angeles
# Allow new users to self-register (true/false)
MEALIE_ALLOW_SIGNUP=false
# Number of concurrent worker processes for the API server (tune to available CPU cores)
MEALIE_UVICORN_WORKERS=4
# --- NFS Volume ---
# IP address or hostname of the NFS server
MEALIE_NFS_SERVER=192.168.1.x
# NFS export path on the server (e.g. /mnt/pool/mealie)
MEALIE_NFS_DEVICE=:/path/to/nfs/export
+29
View File
@@ -0,0 +1,29 @@
services:
app:
image: ghcr.io/mealie-recipes/mealie:${MEALIE_VERSION:-latest}
container_name: mealie-app
ports:
- ${MEALIE_PORT:-9000}:9000
volumes:
- mealie-app:/app/data/
environment:
- ALLOW_SIGNUP=${MEALIE_ALLOW_SIGNUP:-false}
- PUID=${MEALIE_PUID:-1000}
- PGID=${MEALIE_PGID:-1000}
- TZ=${MEALIE_TZ:-America/Los_Angeles}
- BASE_URL=${MEALIE_BASE_URL}
- UVICORN_WORKERS=${MEALIE_UVICORN_WORKERS:-4}
deploy:
resources:
limits:
memory: 1000M
restart: unless-stopped
volumes:
mealie-app:
name: mealie-app
driver: local
driver_opts:
type: nfs
o: "addr=${MEALIE_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4"
device: "${MEALIE_NFS_DEVICE}"