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 ?