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

This commit is contained in:
Gitouche 2022-08-29 22:39:55 +02:00
parent 2628e061f6
commit 9a66ed35e3

View file

@ -16,7 +16,7 @@ GARBAYE_GITEA_DOMAIN="${GARBAYE_GITEA_ENV_DOMAIN:-git.garbaye.fr}"
envvars='GARBAYE_GITEA_POSTGRES_PASSWORD' envvars='GARBAYE_GITEA_POSTGRES_PASSWORD'
## internal vars : do not touch ## internal vars : do not touch
project_name=${PWD##*/} project_name=${PWD##*/}
pod_name="pod_${project_name}" pod_name="${project_name}"
service_name="pod-${project_name}.service" service_name="pod-${project_name}.service"
get_default_iface_ipv4 GARBAYE_GITEA_SMTP_SERVER get_default_iface_ipv4 GARBAYE_GITEA_SMTP_SERVER
upstream_images="${gitea_image} ${postgres_image}" upstream_images="${gitea_image} ${postgres_image}"