Update 2 files

- /roles/mealie/templates/docker-compose.yml.j2
- /group_vars/all.yml
This commit is contained in:
Administrator 2025-10-15 15:51:41 +00:00
parent d49c52b5ae
commit 5630d395fb
2 changed files with 8 additions and 11 deletions

View File

@ -50,3 +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_password: "secure_password_123"

View File

@ -1,7 +1,7 @@
version: "3.8"
services:
services:services:
mealie:
image: mealie/mealie:latest
image: hkotel/mealie:latest
container_name: mealie
restart: unless-stopped
ports:
@ -13,7 +13,7 @@ services:
- ALLOW_SIGNUP=true
- DB_ENGINE=postgres
- POSTGRES_USER=mealie
- POSTGRES_PASSWORD=mealie
- POSTGRES_PASSWORD={{ mealie_db_password }}
- POSTGRES_SERVER=postgres
- POSTGRES_PORT=5432
- POSTGRES_DB=mealie
@ -21,19 +21,14 @@ services:
- {{ mealie_data_dir }}:/app/data
depends_on:
- postgres
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80/api/app/about"]
interval: 30s
timeout: 10s
retries: 3
postgres:
image: postgres:13
image: postgres:15
container_name: mealie-postgres
restart: unless-stopped
environment:
- POSTGRES_USER=mealie
- POSTGRES_PASSWORD=mealie
- POSTGRES_PASSWORD={{ mealie_db_password }}
- POSTGRES_DB=mealie
volumes:
- {{ mealie_data_dir }}/postgres:/var/lib/postgresql/data