From e73143e360c0f5d6b64d2b0ed76a4a0393a09b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Mon, 14 Jun 2021 18:46:29 +0200 Subject: [PATCH] =?UTF-8?q?Suppression=20de=20param=C3=A8tres=20et=20d'un?= =?UTF-8?q?=20volume=20superflus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- podman-matrix/10_install.sh | 4 ++-- podman-matrix/README.md | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/podman-matrix/10_install.sh b/podman-matrix/10_install.sh index 5353ad0..2537e34 100755 --- a/podman-matrix/10_install.sh +++ b/podman-matrix/10_install.sh @@ -18,12 +18,12 @@ if [[ ! -d ~/.local/share/containers/storage/volumes/${dbvolume} ]]; then fi podman pod create --publish 8086:8008 --name ${pod_name} && \ podman run -d --name ${db_container_name} --pod ${pod_name} \ - --mount type=volume,src=${dbvolume},dst=/var/lib/postgresql/data/${container_name} \ + --mount type=volume,src=${dbvolume},dst=/var/lib/postgresql/data/ \ -e POSTGRES_PASSWORD=mysecretpass \ -e POSTGRES_USER=${container_name} \ -e POSTGRES_DB=${container_name} \ -e POSTGRES_INITDB_ARGS="--encoding=UTF8 --locale=C" \ - -e PGDATA=/var/lib/postgresql/data/${container_name} ${postgres_image} && \ + ${postgres_image} && \ podman run -d --name ${container_name} --pod ${pod_name} \ --mount type=volume,src=${confvolume},dst=/data ${synapse_image} && \ echo "Pod built and starting diff --git a/podman-matrix/README.md b/podman-matrix/README.md index b47e236..13b807e 100644 --- a/podman-matrix/README.md +++ b/podman-matrix/README.md @@ -22,7 +22,6 @@ podman exec -ti synapse register_new_matrix_user -c /data/homeserver.yaml http:/ ``` Reste à faire: -- Un volume se attaché à synapse-db se crée avec un id unique mais je ne sais pas à quoi il correspond - Automatiser les corrections dans le homeserver.yaml - gérer les UID/GID et comptes utilisés dans les containers ? - Password policy ?