Suppression de paramètres et d'un volume superflus

This commit is contained in:
Loïc 2021-06-14 18:46:29 +02:00
parent 6a5ed6d79a
commit e73143e360
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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 ?