136 Commits (00ea6bf3a433f85e6c3c49d52b2f05eb7c673219)

Author SHA1 Message Date
Slavi Pantaleev cb969c6ca2 Add --tags=import-generic-sqlite-db (pgloader import)
4 years ago
Slavi Pantaleev c66c084027 Merge branch 'master' into postgres-per-default
4 years ago
Slavi Pantaleev 6e1dfb62f0 Rename some doc files and commands related to importing
4 years ago
Slavi Pantaleev 183d2a10db Ensure matrix-postgres.service is started before creating additional users/databases
4 years ago
Slavi Pantaleev 46a4034d3e Use "password" for additional Postgres databases, not "pass"
4 years ago
Slavi Pantaleev 3a037a5993 Ensure additional databases contain all the keys that we expect
4 years ago
Slavi Pantaleev da4cb2f639 Do not use the postgresql_user/postgresql_db modules
4 years ago
Slavi Pantaleev bbc09d013b Do not execute additional databases creation code if not necessary
4 years ago
Slavi Pantaleev c765ceb270 Prevent weird loop error
4 years ago
Slavi Pantaleev e2952f16f7 Determine matrix-postgres IP address without relying on jq
4 years ago
Slavi Pantaleev f47e8a97e6 Make use of matrix_host_command_docker instead of hardcoding
4 years ago
Slavi Pantaleev 0641106370 Allow username of additional Postgres databases to be different
4 years ago
Slavi Pantaleev 527d5f57d5 Relocate Postgres additional database creation logic
4 years ago
Slavi Pantaleev dac0d3a682 Add default matrix_postgres_additional_databases
4 years ago
Slavi Pantaleev 77a5c7cf3c Merge branch 'master' into postgres-per-default
4 years ago
Slavi Pantaleev 47613e5a27 Remove synapse-janitor support
4 years ago
transcaffeine d9f4914e0d
WIP: postgres: create databases for all services
4 years ago
Slavi Pantaleev d08b27784f Fix systemd services autostart problem with Docker 20.10
4 years ago
Marcel Partap b73ac965ac Merge remote-tracking branch 'origin/master' into synapse-workers
4 years ago
Slavi Pantaleev 796c752b60 Ensure Postgres passwords are not longer than 99 characters
4 years ago
Slavi Pantaleev 75f9fde7a4 Remove some more -v usage
4 years ago
Slavi Pantaleev 1fca917ad1 Replace some -v instances with --mount
4 years ago
Slavi Pantaleev 3e2355282b Upgrade Postgres minor versions
4 years ago
Slavi Pantaleev ccabc82d4c Use more fully-qualified container images
4 years ago
Marcel Partap 93a8ea7e4a Merge remote-tracking branch 'master' into feature/add-worker-support
4 years ago
Slavi Pantaleev 6a72e3fa54 Try to make importing SQLite from older Synapse version work
4 years ago
Dan Arnfield 3a3383fada Add support for postgres 13
4 years ago
Max Klenk 1e68d8b2e5
allow to pass arguments to the postgres process
4 years ago
Slavi Pantaleev a456e3a9e7 Surface certain messages at the end of playbook execution
4 years ago
Slavi Pantaleev e3dca2f66f Try to avoid Docker logs growing too much for one-off containers
4 years ago
Dan Arnfield 20eea648a5 Update postgres versions (12.3 -> 12.4, etc)
4 years ago
Chris van Dijk 6e3b877dc2 Remove hardcoded command paths in playbook shell usage
5 years ago
Chris van Dijk 6334f6c1ea Remove hardcoded command paths in systemd unit files
5 years ago
Ugurtan 5ace3f4a1c
fix for importing sqllite database
5 years ago
Dan Arnfield ee3944bcdb Update postgres (12.2 -> 12.3, etc)
5 years ago
Slavi Pantaleev 8fb3ce6f6d Upgrade Synapse (v1.12.4 -> v1.13.0)
5 years ago
Chris van Dijk 7585bcc4ac Allow the matrix user username and groupname to be configured separately
5 years ago
Slavi Pantaleev 9991d545dd Add note about synapse-janitor and require explicit confirmation for usage
5 years ago
Chris van Dijk 88c1fbf6aa Fix hardcoded values in postgres script matrix-change-user-admin-status
5 years ago
Chris van Dijk d83236ea0e Fix inconsistent whitespace
5 years ago
Mickaël Cornière 82989b662a Fix bad network and bad path to postgre env
5 years ago
mooomooo eebc6e13f8 Made directory variables for /etc/systemd/system , /etc/cron.d , /usr/local/bin
5 years ago
Dan Arnfield e36de7e627 Update postgres (12.1 -> 12.2, etc)
5 years ago
David Gnedt c55682d099 Update synapse-janitor to support current synapse database schema
5 years ago
Slavi Pantaleev 704d2ff861
Merge pull request #351 from prasket/matrix-change-user-admin-status
5 years ago
prasket 83e7a8d9e6 corrected hardcoded matrix domain and added code to remove old matrix-make-user-admin script per suggestion.
5 years ago
Slavi Pantaleev 9d3d538a2d Use C collation for Postgres to appease Synapse
5 years ago
prasket e99497bb60 created new file with change admin options and removed make admin file. Updated name references as well throughout the project.
5 years ago
Dan Arnfield 4a60f385d1 Update postgres versions (12.0 -> 12.1, etc)
5 years ago
Slavi Pantaleev e32aaacaa7 Make gzipped SQL dumps by default during --upgrade-postgres
5 years ago
Slavi Pantaleev 29526e7bb1 Add support for backing up / importing all Postgres databases/users
5 years ago
Slavi Pantaleev 9c438a3870 Add support for Postgres v12
5 years ago
Slavi Pantaleev 1784bde226 Ensure Postgres data ownership is correct
5 years ago
Dan Arnfield dc11704c11 Bump postgres versions (11.5, 10.10, 9.6.15)
5 years ago
Slavi Pantaleev 0ca21d80d7 Add Synapse Maintenance docs and synapse-janitor integration
5 years ago
Slavi Pantaleev 631a14bf0c Rename run control variables for consistency
5 years ago
Slavi Pantaleev e805044b80 Delete scripts when uninstalling Postgres
5 years ago
Dan Arnfield 1eaa7b6967 Update postgres versions to latest
5 years ago
Slavi Pantaleev 7d3adc4512 Automatically force-pull :latest images
6 years ago
Slavi Pantaleev 4f87f7e43e
Explain matrix_postgres_container_postgres_bind_port a little more
6 years ago
Aaron Raimist 6fce809d10
Add config option to be able to access database outside of container
6 years ago
Slavi Pantaleev 3567d9adba Fix typo
6 years ago
Dan Arnfield 9c23d877fe Fix docker_image option for ansible < 2.8
6 years ago
Dan Arnfield db15791819 Add source option to docker_image to fix deprecation warning
6 years ago
Dan Arnfield 3982f114af Fix CONDITIONAL_BARE_VARS deprecation warning in ansible 2.8
6 years ago
Slavi Pantaleev ae7c8d1524 Use SyslogIdentifier to improve logging
6 years ago
Dan Arnfield 6163ba5bb1 Bump postgres versions
6 years ago
Hugues De Keyzer c451025134 Fix indentation in templates
6 years ago
Slavi Pantaleev e0b7b4dc61
Merge pull request #159 from TheLastProject/feature/docker_add_hosts
6 years ago
Sylvia van Os 75b1528d13 Add the possibility to pass extra flags to the docker container
6 years ago
Lyubomir Popov 134faa3139 Add the ability to update user passwords with ansible (when using the matrix-postgres container).
6 years ago
Slavi Pantaleev 6f6dff3e2b Update some Docker images
6 years ago
Slavi Pantaleev 45618679f5 Reload systemd services when they get updated
6 years ago
Slavi Pantaleev a43bcd81fe Rename some variables
6 years ago
Slavi Pantaleev 433780384e Do not use docker_container module
6 years ago
Slavi Pantaleev 0be7b25c64 Make (most) containers run with a read-only filesystem
6 years ago
Slavi Pantaleev 9438402f61 Drop capabilities in a few more places
6 years ago
Slavi Pantaleev 316d653d3e Drop capabilities in containers
6 years ago
Slavi Pantaleev 299a8c4c7c Make (most) containers start as non-root
6 years ago
Slavi Pantaleev 1a80058a2a Indent (non-YAML) using tabs
6 years ago
Slavi Pantaleev a4e7ad5566 Use async Ansible task for importing Postgres
6 years ago
Slavi Pantaleev 0392822aa7 Show Postgres import command and mention manual importing
6 years ago
Slavi Pantaleev 8d186e5194 Fix Postgres import when Postgres had never started
6 years ago
Slavi Pantaleev c10182e5a6 Make roles more independent of one another
6 years ago
Slavi Pantaleev b80d44afaa Stop Postgres before finding files to move over
6 years ago
Slavi Pantaleev 51312b8250 Split playbook into multiple roles
6 years ago