2021-05-04 20:14:08 +00:00
|
|
|
#!/usr/bin/env bash
|
2022-09-03 13:26:40 +00:00
|
|
|
## vars
|
2022-08-12 17:42:46 +00:00
|
|
|
upstream_images='git.garbaye.fr/garbaye/peerjs-server'
|
2023-03-09 22:27:00 +00:00
|
|
|
version='1.0.0'
|
2022-09-03 13:26:40 +00:00
|
|
|
## default vars : override with ENV var
|
|
|
|
listen_if="${GARBAYE_PEERJS_ENV_LISTENIF:-127.0.0.1}"
|
|
|
|
listen_port="${GARBAYE_PEERJS_ENV_LISTENPORT:-8081}"
|
|
|
|
## internal vars : do not touch
|
|
|
|
project_name=${PWD##*/}
|
|
|
|
container_name="${project_name}"
|
|
|
|
service_name="container-${container_name}.service"
|