Matrix : BUILD YOUR OWN IMAGES

This commit is contained in:
Gitouche 2022-03-05 00:19:51 +01:00
parent 82ad64bdde
commit 0dd0b7c9d6
2 changed files with 2 additions and 2 deletions

View file

@ -20,8 +20,8 @@ if ! podman volume exists ${dbvolume} ; then
exit 1 exit 1
fi fi
source ${ABSDIR}/zz_build-images.sh &&
podman pull ${postgres_image}:${postgres_version} && podman pull ${postgres_image}:${postgres_version} &&
podman pull ${synapse_image}:${synapse_version} &&
podman pod create --publish ${listen_if}:${listen_port}:8008 --name ${pod_name} && podman pod create --publish ${listen_if}:${listen_port}:8008 --name ${pod_name} &&
podman run -d --name ${db_container_name} --pod ${pod_name} \ podman run -d --name ${db_container_name} --pod ${pod_name} \
--mount type=volume,src=${dbvolume},dst=/var/lib/postgresql/data/ \ --mount type=volume,src=${dbvolume},dst=/var/lib/postgresql/data/ \

View file

@ -3,7 +3,7 @@
pod_name='podman-matrix' pod_name='podman-matrix'
service_name="pod-${pod_name}.service" service_name="pod-${pod_name}.service"
#version='latest' #version='latest'
synapse_image="docker.io/matrixdotorg/synapse" synapse_image="localhost/matrixdotorg/synapse"
synapse_version='v1.53.0' synapse_version='v1.53.0'
postgres_image="docker.io/library/postgres" postgres_image="docker.io/library/postgres"
postgres_version='11.14' postgres_version='11.14'