blob: 4cf35c9baab36e14b64c4d8cd1fa25af36ba00d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
services:
postgres:
image: postgres:16
container_name: tidyindex-postgres
environment:
POSTGRES_USER: tidyindex
POSTGRES_PASSWORD: tidyindex
POSTGRES_DB: tidyindex
ports:
- "35434:5432"
volumes:
- tidyindex-pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U tidyindex -d tidyindex"]
interval: 5s
timeout: 5s
retries: 5
volumes:
tidyindex-pgdata:
|