mirror of
https://github.com/samply/bridgehead.git
synced 2026-03-31 21:30:15 +02:00
secure db and ml
This commit is contained in:
@@ -37,14 +37,20 @@ services:
|
|||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
volumes:
|
volumes:
|
||||||
- db_data:/var/lib/postgresql/data
|
- db_data:/var/lib/postgresql/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U ${ML_DB_USER} -d mainzelliste"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 10
|
||||||
|
start_period: 10s
|
||||||
|
|
||||||
mainzelliste:
|
mainzelliste:
|
||||||
image: medicalinformatics/mainzelliste:latest
|
image: medicalinformatics/mainzelliste:latest
|
||||||
container_name: mainzelliste
|
container_name: mainzelliste
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
db:
|
||||||
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- 7887:8080
|
- 7887:8080
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user