fix docker-compose.yml

This commit is contained in:
Dejan R. 2025-12-01 07:54:20 +00:00
parent ba5b3e4dad
commit 70ef1e940a

View file

@ -10,6 +10,8 @@ services:
- internal
volumes:
- ./mealie-data:/app/data
#orts:
# - "9011:9000" # ← ADD THIS LINE
environment:
# Backend settings
ALLOW_SIGNUP: "false"
@ -22,12 +24,12 @@ services:
DB_ENGINE: postgres
POSTGRES_USER: mealie
POSTGRES_PASSWORD: mealie
POSTGRES_SERVER: postgres
POSTGRES_SERVER: postgres_mealie
POSTGRES_PORT: 5432
POSTGRES_DB: mealie
depends_on:
postgres:
postgres_mealie:
condition: service_healthy
# -----------------------------
@ -87,17 +89,19 @@ services:
cpus: '1.0'
memory: 1024M
postgres:
postgres_mealie:
image: postgres:15
container_name: mealie-postgres
restart: always
networks:
- internal
- traefik
# - traefik
environment:
#POSTGRES_USER: mealie # keeps your app user
POSTGRES_DB: mealie
POSTGRES_USER: mealie
POSTGRES_PASSWORD: mealie
PGUSER: mealie
# Added for Time Zone consistency (Suggestion 2)
TZ: Europe/Ljubljana
PGTZ: Europe/Ljubljana
@ -108,7 +112,11 @@ services:
interval: 30s
timeout: 10s
retries: 5
# labels:
# - "traefik.enable=false" # <-- add this single line
# - "traefik.enable=false" # already good, keeps Traefik away
# - "io.portainer.docker.compose.skip=true" # <-- ADD THIS
# - "netdata.disable=true" # <-- AND THIS (if you use Netdata)
# ------------------
# NETWORKS & VOLUMES
# ------------------