services-garbaye/podman-ntfy/vars.sh

15 lines
458 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-12-25 20:48:34 +00:00
ntfy_version='v1.30.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}"
2022-12-12 21:10:39 +00:00
listen_port="${GARBAYE_NTFY_ENV_LISTENPORT:-8091}"
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"
2022-12-10 18:21:23 +00:00
ntfy_data_volume='ntfy-data'