Gitea : ajout project_name. Prep pour podman-compose 1.+

This commit is contained in:
Gitouche 2022-08-29 22:36:58 +02:00
parent 08cf3fa587
commit 2628e061f6

View file

@ -15,8 +15,9 @@ GARBAYE_GITEA_DOMAIN="${GARBAYE_GITEA_ENV_DOMAIN:-git.garbaye.fr}"
## mandatory ENV vars
envvars='GARBAYE_GITEA_POSTGRES_PASSWORD'
## internal vars : do not touch
pod_name='podman-gitea'
service_name="pod-${pod_name}.service"
project_name=${PWD##*/}
pod_name="pod_${project_name}"
service_name="pod-${project_name}.service"
get_default_iface_ipv4 GARBAYE_GITEA_SMTP_SERVER
upstream_images="${gitea_image} ${postgres_image}"
confvolume='podman-gitea_gitea-config'