Correction des scripts d'install
This commit is contained in:
parent
be4aa048ae
commit
8a328fa9bb
|
@ -28,8 +28,8 @@ podman rm synapse-generate
|
||||||
#< enable_registration: false
|
#< enable_registration: false
|
||||||
#
|
#
|
||||||
#< database:
|
#< database:
|
||||||
#< args:
|
|
||||||
#< name: psycopg2
|
#< name: psycopg2
|
||||||
|
#< args:
|
||||||
#< user: synapse
|
#< user: synapse
|
||||||
#< password: mysecretpass
|
#< password: mysecretpass
|
||||||
#< database: synapse
|
#< database: synapse
|
||||||
|
|
|
@ -24,9 +24,9 @@ podman run -d --name ${db_container_name} --pod ${pod_name} \
|
||||||
-e POSTGRES_DB=${container_name} \
|
-e POSTGRES_DB=${container_name} \
|
||||||
-e POSTGRES_INITDB_ARGS="--encoding=UTF8 --locale=C" \
|
-e POSTGRES_INITDB_ARGS="--encoding=UTF8 --locale=C" \
|
||||||
-e PGDATA=/var/lib/postgresql/data/${container_name} ${postgres_image} && \
|
-e PGDATA=/var/lib/postgresql/data/${container_name} ${postgres_image} && \
|
||||||
podman logs -f ${db_container_name} &&\
|
|
||||||
podman run -d --name ${container_name} --pod ${pod_name} \
|
podman run -d --name ${container_name} --pod ${pod_name} \
|
||||||
--mount type=volume,src=${confvolume},dst=/data ${synapse_image} && \
|
--mount type=volume,src=${confvolume},dst=/data ${synapse_image} && \
|
||||||
podman logs -f ${container_name} &&\
|
echo "Pod built and starting
|
||||||
echo Pod built and starting
|
run 'podman logs -f synapse synapse-db' to show initialisation status
|
||||||
|
then stop pod with 'podman pod stop ${pod_name}'"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue