2024-12-14 07:42:59 +00:00
|
|
|
services:
|
|
|
|
rw_1:
|
|
|
|
image: postgres:17
|
|
|
|
container_name: draincloud-db-rw-1
|
|
|
|
ports:
|
|
|
|
- 5432:5432
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=draincloud
|
2024-12-16 05:08:37 +00:00
|
|
|
- POSTGRES_PASSWORD=mysuperstrongpassword
|
2024-12-14 07:42:59 +00:00
|
|
|
- POSTGRES_DB=draincloud
|
|
|
|
volumes:
|
|
|
|
- draincloud-rw-1:/var/lib/postgresql/data
|
2024-12-16 05:08:37 +00:00
|
|
|
networks:
|
|
|
|
- draincloud-pg
|
2024-12-14 07:42:59 +00:00
|
|
|
|
|
|
|
rw_2:
|
|
|
|
image: postgres:17
|
|
|
|
container_name: draincloud-db-rw-2
|
|
|
|
ports:
|
|
|
|
- 5433:5432
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=draincloud
|
2024-12-16 05:08:37 +00:00
|
|
|
- POSTGRES_PASSWORD=mysuperstrongpassword
|
2024-12-14 07:42:59 +00:00
|
|
|
- POSTGRES_DB=draincloud
|
|
|
|
volumes:
|
|
|
|
- draincloud-rw-2:/var/lib/postgresql/data
|
2024-12-16 05:08:37 +00:00
|
|
|
networks:
|
|
|
|
- draincloud-pg
|
2024-12-14 07:42:59 +00:00
|
|
|
|
|
|
|
rw_3:
|
|
|
|
image: postgres:17
|
|
|
|
container_name: draincloud-db-rw-3
|
|
|
|
ports:
|
|
|
|
- 5434:5432
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=draincloud
|
2024-12-16 05:08:37 +00:00
|
|
|
- POSTGRES_PASSWORD=mysuperstrongpassword
|
2024-12-14 07:42:59 +00:00
|
|
|
- POSTGRES_DB=draincloud
|
|
|
|
volumes:
|
|
|
|
- draincloud-rw-3:/var/lib/postgresql/data
|
2024-12-16 05:08:37 +00:00
|
|
|
networks:
|
|
|
|
- draincloud-pg
|
2024-12-14 07:42:59 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
draincloud-rw-1: {}
|
|
|
|
draincloud-rw-2: {}
|
2024-12-16 05:08:37 +00:00
|
|
|
draincloud-rw-3: {}
|
|
|
|
|
|
|
|
networks:
|
|
|
|
draincloud-pg: {}
|