apps/mealie/docker-compose.yml aktualisiert
This commit is contained in:
@@ -3,50 +3,68 @@ services:
|
|||||||
image: ghcr.io/mealie-recipes/mealie:v3.12.0
|
image: ghcr.io/mealie-recipes/mealie:v3.12.0
|
||||||
container_name: mealie
|
container_name: mealie
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
|
||||||
- frontend_net
|
|
||||||
ports:
|
|
||||||
- "9935:9000"
|
|
||||||
depends_on:
|
|
||||||
postgres:
|
|
||||||
condition: service_healthy
|
|
||||||
volumes:
|
|
||||||
- /mnt/user/appdata/mealie/data:/app/data
|
|
||||||
environment:
|
environment:
|
||||||
TZ: Europe/Berlin
|
TZ: Europe/Berlin
|
||||||
|
ALLOW_SIGNUP: "false"
|
||||||
PUID: "99"
|
PUID: "99"
|
||||||
PGID: "100"
|
PGID: "100"
|
||||||
ALLOW_SIGNUP: "false"
|
|
||||||
BASE_URL: "http://192.168.178.58:9935"
|
|
||||||
DEFAULT_EMAIL: "michideheld@gmx.de"
|
|
||||||
DEFAULT_GROUP: "Home"
|
|
||||||
DEFAULT_HOUSEHOLD: "Family"
|
|
||||||
DB_ENGINE: "postgres"
|
|
||||||
POSTGRES_USER: "mealie"
|
|
||||||
POSTGRES_PASSWORD: "Kallilab-Mealie-2026!"
|
|
||||||
POSTGRES_SERVER: "postgres"
|
|
||||||
POSTGRES_PORT: "5432"
|
|
||||||
POSTGRES_DB: "mealie"
|
|
||||||
|
|
||||||
postgres:
|
# DB
|
||||||
|
DB_ENGINE: postgres
|
||||||
|
POSTGRES_SERVER: mealie-postgres
|
||||||
|
POSTGRES_DB: mealie
|
||||||
|
POSTGRES_USER: mealie
|
||||||
|
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
|
||||||
|
|
||||||
|
# URL
|
||||||
|
BASE_URL: https://mealie.kaleschke.info
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- /mnt/user/appdata/mealie/data:/app/data
|
||||||
|
|
||||||
|
networks:
|
||||||
|
- frontend_net
|
||||||
|
- mealie_internal
|
||||||
|
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.docker.network=frontend_net
|
||||||
|
- traefik.http.routers.mealie.rule=Host(`mealie.kaleschke.info`)
|
||||||
|
- traefik.http.routers.mealie.entrypoints=websecure
|
||||||
|
- traefik.http.routers.mealie.tls=true
|
||||||
|
- traefik.http.routers.mealie.tls.certresolver=le
|
||||||
|
- traefik.http.services.mealie.loadbalancer.server.port=9000
|
||||||
|
|
||||||
|
mealie-postgres:
|
||||||
image: postgres:17
|
image: postgres:17
|
||||||
container_name: mealie-postgres
|
container_name: mealie-postgres
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
|
||||||
- frontend_net
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: "mealie"
|
TZ: Europe/Berlin
|
||||||
POSTGRES_PASSWORD: "Kallilab-Mealie-2026!"
|
POSTGRES_USER: mealie
|
||||||
POSTGRES_DB: "mealie"
|
POSTGRES_DB: mealie
|
||||||
PGUSER: "mealie"
|
POSTGRES_PASSWORD_FILE: /run/secrets/postgres_password
|
||||||
|
PGDATA: /var/lib/postgresql/data
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/user/appdata/mealie/postgres:/var/lib/postgresql/data
|
- /mnt/user/appdata/mealie/postgres:/var/lib/postgresql/data
|
||||||
healthcheck:
|
- /mnt/user/appdata/secrets/mealie_postgres_password.txt:/run/secrets/postgres_password:ro
|
||||||
test: ["CMD", "pg_isready", "-U", "mealie", "-d", "mealie"]
|
|
||||||
interval: 30s
|
networks:
|
||||||
timeout: 20s
|
- mealie_internal
|
||||||
retries: 5
|
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
frontend_net:
|
frontend_net:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
mealie_internal:
|
||||||
|
driver: bridge
|
||||||
|
internal: true
|
||||||
Reference in New Issue
Block a user