mirror of
https://github.com/Crocmagnon/ansible.git
synced 2025-04-03 23:56:22 +02:00
parent
166cf7d71f
commit
98ee30fba0
2 changed files with 12 additions and 0 deletions
playbooks/apps
|
@ -17,3 +17,9 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./db_data:/var/lib/postgresql/data
|
- ./db_data:/var/lib/postgresql/data
|
||||||
mem_limit: 512m
|
mem_limit: 512m
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready", "-d", "miniflux"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
start_period: 80s
|
||||||
|
|
|
@ -22,3 +22,9 @@ services:
|
||||||
POSTGRES_DB: "manuels"
|
POSTGRES_DB: "manuels"
|
||||||
volumes:
|
volumes:
|
||||||
- ./db_data:/var/lib/postgresql/data
|
- ./db_data:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready", "-d", "manuels"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
start_period: 80s
|
||||||
|
|
Loading…
Add table
Reference in a new issue