mirror of
https://github.com/Effect-TS/effect.git
synced 2026-11-16 08:40:41 +08:00
14 lines
401 B
YAML
14 lines
401 B
YAML
services:
|
|
pg:
|
|
image: postgres:alpine # Using a lightweight Postgres image
|
|
environment:
|
|
POSTGRES_DB: effect_cluster
|
|
POSTGRES_USER: cluster
|
|
POSTGRES_PASSWORD: cluster
|
|
ports:
|
|
- "5432:5432" # Map host port 5432 to container port 5432
|
|
volumes:
|
|
- db_data:/var/lib/postgresql/data # Persist data in a named volume
|
|
volumes:
|
|
db_data: # Define the named volume
|