53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
services:
|
|
mealie:
|
|
image: ghcr.io/mealie-recipes/mealie:v2.8.0
|
|
container_name: mealie
|
|
restart: always
|
|
# ports:
|
|
# - 9925:9000
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 1000M #
|
|
networks:
|
|
- bragi-local
|
|
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:
|
|
networks:
|
|
- bragi-local
|
|
container_name: 04_groceries_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 |