48 lines
1.1 KiB
YAML
Executable File
48 lines
1.1 KiB
YAML
Executable File
services:
|
|
mealie:
|
|
image: ghcr.io/mealie-recipes/mealie:latest
|
|
container_name: mealie
|
|
restart: always
|
|
ports:
|
|
- "9925:9000" #
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 1000M #
|
|
volumes:
|
|
- /zstore/Docker-volumes/Mealie/mealie-data:/app/data/
|
|
environment:
|
|
# Set Backend ENV Variables Here
|
|
TZ: Europe/Prague
|
|
BASE_URL: https://mealie.yugi.cz
|
|
# Database Settings
|
|
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-mealie
|
|
image: postgres:15
|
|
restart: always
|
|
volumes:
|
|
- /zstore/Docker-volumes/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:
|
|
mealie-pgdata:
|