You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 months ago | |
---|---|---|
.gitignore | 5 months ago | |
Dockerfile | 5 months ago | |
README | 5 months ago | |
docker-compose.yaml | 5 months ago | |
reppoint | 5 months ago |
README
Делает полную копию бд посгресса в оперативку или любое другое место.
Че добавить на реплике:
-> .env
MASTER_ADDRESS=x.x.x.x #Ип бд
MASTER_USER=user #Юзер для реплики
TZ=Europe/Moscow #Я русский
Че добавить на мастере:
wal_level = hot_standby
archive_mode = on
archive_command = 'cd .'
max_wal_senders = 8
hot_standby = on