blob: f87ea5ab0c8d39747a7a585452ca0653dd9c4d0e (
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:18-alpine
container_name: cafe-postgres-dev
ports:
- "5432:5432"
environment:
POSTGRES_DB: cafe
POSTGRES_USER: cafe
POSTGRES_PASSWORD: cafe
volumes:
- postgres_dev_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U cafe"]
interval: 5s
timeout: 3s
retries: 5
volumes:
postgres_dev_data:
|