Mealie/docker-compose.yml

43 lines
988 B
YAML

version: "3.7"
services:
mealie:
image: ghcr.io/mealie-recipes/mealie:v1.2.0 #
container_name: mealie
ports:
- "9000:9000"
deploy:
resources:
limits:
memory: 1000M
depends_on:
- postgres
volumes:
- ./data/mealie:/app/data/
environment:
# Set Backend ENV Variables Here
- ALLOW_SIGNUP=false
- PUID=1000
- PGID=1000
- TZ=Europe/Copenhagen
- MAX_WORKERS=1
- WEB_CONCURRENCY=1
- BASE_URL=https://recipes.halis.io
# Database Settings
- DB_ENGINE=postgres
- POSTGRES_USER=mealie
- POSTGRES_PASSWORD=password
- POSTGRES_SERVER=postgres
- POSTGRES_PORT=5432
- POSTGRES_DB=mealie
restart: unless-stopped
postgres:
container_name: postgres
image: postgres:15
restart: unless-stopped
volumes:
- ./data/db:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: mealie