Update 2 files

- /roles/mealie/templates/docker-compose.yml.j2
- /group_vars/all.yml
This commit is contained in:
Administrator 2025-10-15 18:03:57 +00:00
parent 79314087a3
commit 688fb5fc58
2 changed files with 2 additions and 21 deletions

View File

@ -50,5 +50,5 @@ bookstack_port: "45131"
mealie_base_dir: "/mnt/mealie"
mealie_data_dir: "/mnt/mealie/data"
mealie_port: "45132"
mealie_db_type: "postgres" # sqlite или postgres
mealie_db_type: "sqlite" # sqlite или postgres
mealie_db_password: "secure_password_123"

View File

@ -10,24 +10,5 @@ services:
- 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