Renamed some web apps to web servicesy

This commit is contained in:
2025-08-20 05:00:24 +02:00
parent 4ce681e643
commit 790762d397
28 changed files with 9 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
# Coturn Server (DRAFT)
setup an coturn server based on https://hub.docker.com/r/coturn/coturn
## todo
Needs to be implemented so that Nextcloud Talk works
## author
[Kevin Veen-Birkenbach](https://www.veen.world)

View File

@@ -0,0 +1,2 @@
# Todo
- Implement this role

View File

@@ -0,0 +1,2 @@
user: turnuser
credentials:

View File

@@ -0,0 +1,23 @@
---
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Deploys a Coturn TURN/STUN server via Docker Compose, with automatic domain and port configuration for Nextcloud Talk."
license: "Infinito.Nexus NonCommercial License"
license_url: "https://s.infinito.nexus/license"
company: |
Kevin Veen-Birkenbach
Consulting & Coaching Solutions
https://www.veen.world
galaxy_tags:
- coturn
- turn
- stun
- docker
repository: "https://s.infinito.nexus/code"
issue_tracker_url: "https://s.infinito.nexus/issues"
documentation: "https://s.infinito.nexus/code/tree/main/roles/web-svc-coturn"
min_ansible_version: "2.9"
platforms:
- name: Any
versions:
- all

View File

@@ -0,0 +1,4 @@
---
- name: "load docker, db and proxy for {{ application_id }}"
include_role:
name: cmp-db-docker-proxy

View File

@@ -0,0 +1,45 @@
{% include 'roles/docker-compose/templates/base.yml.j2' %}
coturn:
{% include 'roles/docker-container/templates/base.yml.j2' %}
image: coturn/coturn
restart: always
network_mode: "host" # Nutzt die Host-IP für externe Erreichbarkeit (optional)
ports:
- "3478:3478/udp"
- "3478:3478/tcp"
- "5349:5349/tcp"
- "5349:5349/udp"
- "49152-65535:49152-65535/udp" # TURN-Relay-Ports (wichtig!)
#volumes: # In case customized config is required
# - coturn-config:/etc/coturn
environment:
- TURN_PORT=3478
- TURN_PORT_TLS=5349
- TURN_SECRET=my-secret-key
- TURN_USER=turnuser
- TURN_PASSWORD=turnpassword
command: >
--log-file=stdout
--external-ip=$(detect-external-ip)
--lt-cred-mech
--user=turnuser:turnpassword
--realm=nextcloud
--total-quota=100
--stale-nonce
--no-multicast-peers
--denied-peer-ip=0.0.0.0-0.255.255.255
--denied-peer-ip=10.0.0.0-10.255.255.255
--denied-peer-ip=100.64.0.0-100.127.255.255
--denied-peer-ip=169.254.0.0-169.254.255.255
--denied-peer-ip=172.16.0.0-172.31.255.255
--denied-peer-ip=192.0.0.0-192.0.0.255
--denied-peer-ip=192.88.99.0-192.88.99.255
--denied-peer-ip=192.168.0.0-192.168.255.255
--denied-peer-ip=198.18.0.0-198.19.255.255
--denied-peer-ip=198.51.100.0-198.51.100.255
--denied-peer-ip=203.0.113.0-203.0.113.255
--denied-peer-ip=240.0.0.0-255.255.255.255
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
coturn-config:

View File

View File

@@ -0,0 +1,2 @@
application_id: "web-svc-coturn"
container_port: 3000