version: "3.8" services:services: mealie: image: hkotel/mealie:latest container_name: mealie restart: unless-stopped ports: - "{{ mealie_port }}:80" environment: - PUID=1000 - PGID=1000 - TZ={{ timezone }} - ALLOW_SIGNUP=true - DB_ENGINE=postgres - POSTGRES_USER=mealie - POSTGRES_PASSWORD={{ mealie_db_password }} - POSTGRES_SERVER=postgres - POSTGRES_PORT=5432 - POSTGRES_DB=mealie volumes: - {{ mealie_data_dir }}:/app/data depends_on: - postgres postgres: image: postgres:15 container_name: mealie-postgres restart: unless-stopped environment: - POSTGRES_USER=mealie - POSTGRES_PASSWORD={{ mealie_db_password }} - POSTGRES_DB=mealie volumes: - {{ mealie_data_dir }}/postgres:/var/lib/postgresql/data