created mealie
This commit is contained in:
@@ -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
|
||||||
@@ -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}"
|
||||||
Reference in New Issue
Block a user