Files
mealie/docker-compose.yml

55 lines
1.2 KiB
YAML

services:
mealie:
image: ghcr.io/mealie-recipes/mealie:latest
container_name: mealie
restart: unless-stopped
# ports:
# - "9925:9000"
deploy:
resources:
limits:
memory: 1000M
volumes:
- /data/Data1/mealie:/app/data/
env_file:
- /srv/docker/secrets/mealie/.env
environment:
ALLOW_SIGNUP: "false"
PUID: 1000
PGID: 1000
TZ: America/Argentina/Buenos_Aires
BASE_URL: https://meals.yoonect.com
DB_ENGINE: postgres
POSTGRES_SERVER: mealie_postgres
POSTGRES_PORT: 5432
OPENAI_MODEL: gpt-4o
depends_on:
mealie_postgres:
condition: service_healthy
networks:
npm_proxy:
ipv4_address: 192.168.98.13
mealie_internal:
mealie_postgres:
container_name: mealie_postgres
image: postgres:15
restart: unless-stopped
volumes:
- /srv/appdata/mealie/postgres:/var/lib/postgresql/data
env_file:
- /srv/docker/secrets/mealie/.env
healthcheck:
test: ["CMD", "pg_isready"]
interval: 30s
timeout: 20s
retries: 3
networks:
- mealie_internal
networks:
npm_proxy:
external: true
mealie_internal:
driver: bridge