Agustin Ferrario 5 лет назад
Родитель
Сommit
7de51b7df3
3 измененных файлов: 3 добавлений и 3 удалений
  1. +1
    -1
      docs/configuring-playbook-own-webserver.md
  2. +1
    -1
      docs/maintenance-postgres.md
  3. +1
    -1
      group_vars/matrix_servers

+ 1
- 1
docs/configuring-playbook-own-webserver.md Просмотреть файл

@@ -220,7 +220,7 @@ services:
- "--certificatesresolvers.default.acme.storage=/letsencrypt/acme.json"
ports:
- "443:443"
- "8080:8080"
- "8448:8448"
volumes:
- "./letsencrypt:/letsencrypt"
- "/var/run/docker.sock:/var/run/docker.sock:ro"


+ 1
- 1
docs/maintenance-postgres.md Просмотреть файл

@@ -69,7 +69,7 @@ This playbook can upgrade your existing Postgres setup with the following comman

ansible-playbook -i inventory/hosts setup.yml --tags=upgrade-postgres

**The old Postgres data directory is backed up** automatically, by renaming it to `/matrix/postgres-auto-upgrade-backup`.
**The old Postgres data directory is backed up** automatically, by renaming it to `/matrix/postgres/data-auto-upgrade-backup`.
To rename to a different path, pass some extra flags to the command above, like this: `--extra-vars="postgres_auto_upgrade_backup_data_path=/another/disk/matrix-postgres-before-upgrade"`

The auto-upgrade-backup directory stays around forever, until you **manually decide to delete it**.


+ 1
- 1
group_vars/matrix_servers Просмотреть файл

@@ -129,7 +129,7 @@ matrix_appservice_slack_systemd_required_services_list: |
}}

# Postgres is the default, except if not using `matrix_postgres` (internal postgres)
matrix_appservice_slack_database_engine: "{{ 'postgres' if matrix_postgres_enabled else 'sqlite' }}"
matrix_appservice_slack_database_engine: "{{ 'postgres' if matrix_postgres_enabled else 'nedb' }}"
matrix_appservice_slack_database_password: "{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'as.slack.db') | to_uuid }}"

######################################################################


Загрузка…
Отмена
Сохранить