services-garbaye/podman-ntfy/vars.sh

15 lines
430 B
Bash
Raw Normal View History

2022-11-15 18:16:59 +00:00
#!/usr/bin/env bash
## vars
ntfy_image="git.garbaye.fr/garbaye/ntfy"
2022-11-18 11:14:29 +00:00
ntfy_version='v1.29.1'
2022-11-15 18:16:59 +00:00
## default vars : override with ENV var
2022-11-18 10:02:43 +00:00
listen_if="${GARBAYE_NTFY_ENV_LISTENIF:-127.0.0.1}"
listen_port="${GARBAYE_NTFY_ENV_LISTENPORT:-8099}"
2022-11-15 18:16:59 +00:00
## mandatory ENV vars
2022-11-18 10:02:43 +00:00
envvars='GARBAYE_NTFY_BASE_URL'
2022-11-15 18:16:59 +00:00
## internal vars : do not touch
project_name=${PWD##*/}
container_name="${project_name}"
service_name="container-${container_name}.service"