15 lines
430 B
Bash
15 lines
430 B
Bash
#!/usr/bin/env bash
|
|
## vars
|
|
ntfy_image="git.garbaye.fr/garbaye/ntfy"
|
|
ntfy_version='v1.29.1'
|
|
## default vars : override with ENV var
|
|
listen_if="${GARBAYE_NTFY_ENV_LISTENIF:-127.0.0.1}"
|
|
listen_port="${GARBAYE_NTFY_ENV_LISTENPORT:-8099}"
|
|
## mandatory ENV vars
|
|
envvars='GARBAYE_NTFY_BASE_URL'
|
|
## internal vars : do not touch
|
|
project_name=${PWD##*/}
|
|
container_name="${project_name}"
|
|
service_name="container-${container_name}.service"
|
|
|