From 2628e061f699fced40d44d8b604d42a4658927b8 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Mon, 29 Aug 2022 22:36:58 +0200 Subject: [PATCH] Gitea : ajout project_name. Prep pour podman-compose 1.+ --- podman-gitea/vars.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/podman-gitea/vars.sh b/podman-gitea/vars.sh index d3e16d2..9921e98 100644 --- a/podman-gitea/vars.sh +++ b/podman-gitea/vars.sh @@ -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'