Initial commit.
This commit is contained in:
commit
fb2a237c80
2
README
Normal file
2
README
Normal file
@ -0,0 +1,2 @@
|
||||
A secret must be defined before starting the stack :
|
||||
echo "FIXME" > .env
|
13
docker-compose.yml
Normal file
13
docker-compose.yml
Normal file
@ -0,0 +1,13 @@
|
||||
version: "2.1"
|
||||
|
||||
services:
|
||||
|
||||
coturn:
|
||||
container_name: coturn
|
||||
image: coturn:$VERSION_COTURN
|
||||
build: "https://git.scimetis.net/yohan/docker-coturn.git"
|
||||
restart: unless-stopped
|
||||
network_mode: "host"
|
||||
command: ["--listening-port", "3478", "--verbose", "--fingerprint", "--use-auth-secret", "--static-auth-secret", "$SECRET", "--realm", "scimetis.net", "--total-quota", "100", "--bps-capacity", "0", "--stale-nonce", "--no-multicast-peers"]
|
||||
expose:
|
||||
- "3478"
|
5
start_or_update.sh
Executable file
5
start_or_update.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
unset VERSION_COTURN
|
||||
VERSION_COTURN=$(git ls-remote https://git.scimetis.net/yohan/docker-coturn.git| head -1 | cut -f 1|cut -c -10) \
|
||||
sudo -E bash -c 'docker-compose up -d'
|
||||
|
Loading…
Reference in New Issue
Block a user