blob: caba96a661c3d4cffbd3522174fd94adce39dbea (
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_dev
POSTGRES_USER: cafe_dev
POSTGRES_PASSWORD: dev_password
volumes:
- postgres_dev_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U cafe_dev"]
interval: 5s
timeout: 3s
retries: 5
volumes:
postgres_dev_data:
|