@@ -49,7 +49,25 @@ services:
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
postgres:
|
||||
image: postgres:15-alpine
|
||||
container_name: voxpopuli_postgres
|
||||
environment:
|
||||
POSTGRES_USER: voxpopuli
|
||||
POSTGRES_PASSWORD: voxpopuli_pass
|
||||
POSTGRES_DB: voxpopuli_metrics
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U voxpopuli -d voxpopuli_metrics"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
volumes:
|
||||
mysql_data:
|
||||
mongo_data:
|
||||
mongo_data_notifications:
|
||||
postgres_data:
|
||||
|
||||
Reference in New Issue
Block a user