services-garbaye/podman-ntfy/vars.sh

15 lines
457 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"
2024-03-08 09:51:04 +00:00
ntfy_version='v2.9.0'
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'