blob: 737eb3e0b7c441ce9b261d3b8b699de3256044ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
services:
postgres_db:
image: postgres:16.1-alpine3.19
container_name: bolt_postgresql_db
network_mode: host
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 5s
retries: 5
environment:
- POSTGRES_DB=test_db
- POSTGRES_USER=test_user
- POSTGRES_PASSWORD=testpassword
|