29 lines
802 B
YAML
29 lines
802 B
YAML
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}" |