fix docker-compose.yml
This commit is contained in:
parent
ba5b3e4dad
commit
70ef1e940a
|
|
@ -10,6 +10,8 @@ services:
|
||||||
- internal
|
- internal
|
||||||
volumes:
|
volumes:
|
||||||
- ./mealie-data:/app/data
|
- ./mealie-data:/app/data
|
||||||
|
#orts:
|
||||||
|
# - "9011:9000" # ← ADD THIS LINE
|
||||||
environment:
|
environment:
|
||||||
# Backend settings
|
# Backend settings
|
||||||
ALLOW_SIGNUP: "false"
|
ALLOW_SIGNUP: "false"
|
||||||
|
|
@ -22,12 +24,12 @@ services:
|
||||||
DB_ENGINE: postgres
|
DB_ENGINE: postgres
|
||||||
POSTGRES_USER: mealie
|
POSTGRES_USER: mealie
|
||||||
POSTGRES_PASSWORD: mealie
|
POSTGRES_PASSWORD: mealie
|
||||||
POSTGRES_SERVER: postgres
|
POSTGRES_SERVER: postgres_mealie
|
||||||
POSTGRES_PORT: 5432
|
POSTGRES_PORT: 5432
|
||||||
POSTGRES_DB: mealie
|
POSTGRES_DB: mealie
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres_mealie:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
# -----------------------------
|
# -----------------------------
|
||||||
|
|
@ -87,17 +89,19 @@ services:
|
||||||
cpus: '1.0'
|
cpus: '1.0'
|
||||||
memory: 1024M
|
memory: 1024M
|
||||||
|
|
||||||
postgres:
|
postgres_mealie:
|
||||||
image: postgres:15
|
image: postgres:15
|
||||||
container_name: mealie-postgres
|
container_name: mealie-postgres
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
- traefik
|
# - traefik
|
||||||
environment:
|
environment:
|
||||||
|
#POSTGRES_USER: mealie # keeps your app user
|
||||||
POSTGRES_DB: mealie
|
POSTGRES_DB: mealie
|
||||||
POSTGRES_USER: mealie
|
POSTGRES_USER: mealie
|
||||||
POSTGRES_PASSWORD: mealie
|
POSTGRES_PASSWORD: mealie
|
||||||
|
PGUSER: mealie
|
||||||
# Added for Time Zone consistency (Suggestion 2)
|
# Added for Time Zone consistency (Suggestion 2)
|
||||||
TZ: Europe/Ljubljana
|
TZ: Europe/Ljubljana
|
||||||
PGTZ: Europe/Ljubljana
|
PGTZ: Europe/Ljubljana
|
||||||
|
|
@ -108,7 +112,11 @@ services:
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
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
|
# NETWORKS & VOLUMES
|
||||||
# ------------------
|
# ------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue