Ajouter docker-compose/mealie/docker-compose.yml

This commit is contained in:
toma 2026-01-27 22:46:09 +01:00
parent 480724a87c
commit 96b0f18da8

View File

@ -0,0 +1,48 @@
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:
- /opt/mealie/data:/app/data/
environment:
# Set Backend ENV Variables Here
- ALLOW_SIGNUP=true
- PUID=1000
- PGID=1000
- TZ=Europe/Paris # changez_moi
- MAX_WORKERS=1
- WEB_CONCURRENCY=1
- BASE_URL=meal.tomalix.com # changez_moi
# Database Settings
- DB_ENGINE=postgres
- POSTGRES_USER=mealie
- POSTGRES_PASSWORD=d&3H*X4bY5RTB$9^ # changez_moi
- POSTGRES_SERVER=postgres
- POSTGRES_PORT=5432
- POSTGRES_DB=mealie
restart: always
postgres:
container_name: postgres
image: postgres:15
restart: always
volumes:
- /opt/mealie/pgdata:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: d&3H*X4bY5RTB$9^ # changez_moi
POSTGRES_USER: mealie
volumes:
mealie-data:
driver: local
mealie-pgdata:
driver: local