Add compose.yaml

This commit is contained in:
2026-06-02 17:02:46 +02:00
parent da83d83d9f
commit e126ce37af
+48
View File
@@ -0,0 +1,48 @@
services:
mealie:
image: ghcr.io/mealie-recipes/mealie:v2.8.0
container_name: mealie
restart: always
# ports:
# - 9925:9000
deploy:
resources:
limits:
memory: 1000M #
volumes:
- /home/shrek/docker/stack/mealie/mealie-data:/app/data/
environment:
ALLOW_SIGNUP: "false"
TZ: Europe/Berlin
DB_ENGINE: postgres
POSTGRES_USER: mealie
POSTGRES_PASSWORD: mealie
POSTGRES_SERVER: postgres
POSTGRES_PORT: 5432
POSTGRES_DB: mealie
depends_on:
postgres:
condition: service_healthy
postgres:
container_name: postgres
image: postgres:15
restart: always
volumes:
- /home/shrek/docker/stack/mealie/mealie-pgdata:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: mealie
POSTGRES_USER: mealie
PGUSER: mealie
healthcheck:
test:
- CMD
- pg_isready
interval: 30s
timeout: 20s
retries: 3
volumes:
mealie-data: null
mealie-pgdata: null
networks:
bragi-local:
external: true