services-garbaye/podman-matrix/vars.sh

23 lines
875 B
Bash
Raw Normal View History

2021-06-14 10:42:59 +00:00
#!/usr/bin/env bash
## vars
2022-08-12 18:34:42 +00:00
synapse_image="git.garbaye.fr/garbaye/matrixdotorg-synapse"
2022-10-29 16:19:16 +00:00
synapse_version='v1.70.1'
2021-06-14 10:42:59 +00:00
postgres_image="docker.io/library/postgres"
postgres_version='11.14'
## default vars : override with ENV var
listen_if="${GARBAYE_MATRIX_ENV_LISTENIF:-127.0.0.1}"
listen_port="${GARBAYE_MATRIX_ENV_LISTENPORT:-8086}"
2021-07-12 19:40:44 +00:00
GARBAYE_MATRIX_DOMAIN="${GARBAYE_MATRIX_DOMAIN:-garbaye.fr}"
GARBAYE_MATRIX_URL="${GARBAYE_MATRIX_URL:-https://matrix.garbaye.fr}"
## mandatory ENV vars
2021-07-12 19:40:44 +00:00
envvars='GARBAYE_MATRIX_POSTGRES_PASSWORD GARBAYE_MATRIX_DOMAIN GARBAYE_MATRIX_URL'
## internal vars : do not touch
project_name=${PWD##*/}
pod_name="${project_name}"
service_name="pod-${pod_name}.service"
upstream_images="${synapse_image} ${postgres_image}"
confvolume='matrixdotorg_synapse-data'
dbvolume='matrixdotorg_synapse-pgsql'
container_name='synapse'
db_container_name='synapse-db'