mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 17:56:37 +02:00
20 lines
394 B
YAML
20 lines
394 B
YAML
services:
|
|
rallly_db:
|
|
image: postgres:14.2
|
|
restart: always
|
|
ports:
|
|
- "5450:5432"
|
|
volumes:
|
|
- db-data:/var/lib/postgresql/data
|
|
environment:
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DB=rallly
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
db-data:
|
|
driver: local
|