draincloud-core/compose.rw.yaml

50 lines
1.1 KiB
YAML

services:
rw_1:
image: postgres:17
container_name: draincloud-db-rw-1
ports:
- 5432:5432
environment:
- POSTGRES_USER=draincloud
- POSTGRES_PASSWORD=mysuperstrongpassword
- POSTGRES_DB=draincloud
volumes:
- draincloud-rw-1:/var/lib/postgresql/data
networks:
- draincloud-pg
# rw_2:
# image: postgres:17
# container_name: draincloud-db-rw-2
# ports:
# - 5433:5432
# environment:
# - POSTGRES_USER=draincloud
# - POSTGRES_PASSWORD=mysuperstrongpassword
# - POSTGRES_DB=draincloud
# volumes:
# - draincloud-rw-2:/var/lib/postgresql/data
# networks:
# - draincloud-pg
# rw_3:
# image: postgres:17
# container_name: draincloud-db-rw-3
# ports:
# - 5434:5432
# environment:
# - POSTGRES_USER=draincloud
# - POSTGRES_PASSWORD=mysuperstrongpassword
# - POSTGRES_DB=draincloud
# volumes:
# - draincloud-rw-3:/var/lib/postgresql/data
# networks:
# - draincloud-pg
volumes:
draincloud-rw-1: {}
# draincloud-rw-2: {}
# draincloud-rw-3: {}
networks:
draincloud-pg: {}