services: mealie: image: ghcr.io/mealie-recipes/mealie:latest container_name: mealie restart: always ports: - 9925:9000 deploy: resources: limits: memory: 1000M volumes: - mealie-data:/app/data/ environment: ALLOW_SIGNUP: false PUID: 1000 PGID: 1000 TZ: America/New_York MAX_WORKERS: 1 WEB_CONCURRENCY: 1 BASE_URL: ${BASE_URL} # Database Settings DB_ENGINE: ${DATABASE_TYPE} POSTGRES_USER: ${POSTGRES_USER} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} POSTGRES_SERVER: ${POSTGRES_SERVER} POSTGRES_PORT: ${POSTGRES_PORT} POSTGRES_DB: ${POSTGRES_DB} depends_on: postgres: condition: service_healthy postgres: container_name: postgres image: postgres:15 restart: always volumes: - mealie-pgdata:/var/lib/postgresql/data environment: POSTGRES_PASSWORD: ${POSTGRES_USER} POSTGRES_USER: ${POSTGRES_PASSWORD} healthcheck: test: - CMD - pg_isready interval: 30s timeout: 20s retries: 3 volumes: mealie-data: null mealie-pgdata: null networks: cloudflare_default: external: true x-dockge: urls: []