1
0

Miniflux: add restart policy

This commit is contained in:
2025-08-04 09:50:43 +03:00
parent b4cddb337a
commit ede37e7fa3
2 changed files with 3 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ services:
depends_on:
miniflux_postgres:
condition: service_healthy
restart: 'unless-stopped'
networks:
- "miniflux_network"
- "web_proxy_network"
@@ -36,6 +37,7 @@ services:
image: postgres:16.3-bookworm
container_name: miniflux_postgres
user: "{{ user_create_result.uid }}:{{ user_create_result.group }}"
restart: 'unless-stopped'
environment:
- POSTGRES_USER={{ miniflux_postgres_user }}
- POSTGRES_PASSWORD_FILE=/secrets/miniflux_postgres_password

View File

@@ -68,4 +68,5 @@
community.docker.docker_compose_v2:
project_src: "{{ base_dir }}"
state: "present"
recreate: "always"
remove_orphans: true