48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
version: "3.7"
|
|
services:
|
|
mealie:
|
|
image: ghcr.io/mealie-recipes/mealie:latest
|
|
container_name: mealie
|
|
ports:
|
|
- "9091:9000"
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 1000M
|
|
depends_on:
|
|
- postgres
|
|
volumes:
|
|
- /srv/appdata/mealie/data:/app/data/
|
|
environment:
|
|
# Set Backend ENV Variables Here
|
|
- ALLOW_SIGNUP=true
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/Brussels # changez_moi
|
|
- MAX_WORKERS=1
|
|
- WEB_CONCURRENCY=1
|
|
- BASE_URL=192.168.1.146:9091 # changez_moi
|
|
|
|
# Database Settings
|
|
- DB_ENGINE=postgres
|
|
- POSTGRES_USER=mealie
|
|
- POSTGRES_PASSWORD=123456 # changez_moi
|
|
- POSTGRES_SERVER=postgres
|
|
- POSTGRES_PORT=5432
|
|
- POSTGRES_DB=mealie
|
|
restart: always
|
|
postgres:
|
|
container_name: postgres
|
|
image: postgres:15
|
|
restart: always
|
|
volumes:
|
|
- /srv/appdata/mealie/pgdata:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_PASSWORD: 123456 # changez_moi
|
|
POSTGRES_USER: mealie
|
|
|
|
volumes:
|
|
mealie-data:
|
|
driver: local
|
|
mealie-pgdata:
|
|
driver: local |