db replica base
This commit is contained in:
12
server/database/db_balancer/master.yaml
Normal file
12
server/database/db_balancer/master.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
postgres-master:
|
||||
image: bitnami/postgresql:16
|
||||
environment:
|
||||
- POSTGRESQL_REPLICATION_MODE=master
|
||||
- POSTGRESQL_REPLICATION_USER=repl_user
|
||||
- POSTGRESQL_REPLICATION_PASSWORD=repl_pass
|
||||
- POSTGRESQL_USERNAME=admin
|
||||
- POSTGRESQL_PASSWORD=admin
|
||||
- POSTGRESQL_DATABASE=mydb
|
||||
ports:
|
||||
- '5432:5432'
|
||||
Reference in New Issue
Block a user