12 lines
386 B
Bash
12 lines
386 B
Bash
#!/usr/bin/env bash
|
|
## vars
|
|
upstream_images='git.garbaye.fr/garbaye/peerjs-server'
|
|
version='0.6.1'
|
|
## 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"
|