mirror of
https://github.com/fruworg/infrastructure.git
synced 2025-06-15 10:10:26 +03:00
add some files
This commit is contained in:
24
compose/eturnal/docker-compose.yml
Normal file
24
compose/eturnal/docker-compose.yml
Normal file
@ -0,0 +1,24 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
|
||||
eturnal:
|
||||
image: ghcr.io/processone/eturnal:latest
|
||||
hostname: eturnal
|
||||
container_name: eturnal
|
||||
restart: unless-stopped
|
||||
read_only: true
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- NET_BIND_SERVICE
|
||||
ports:
|
||||
- 3478:3478 # STUN/TURN non-TLS
|
||||
- 3478:3478/udp # STUN/TURN non-TLS
|
||||
- 5349:5349 # STUN/TURN TLS
|
||||
- 52000-59999:52000-59999/udp # TURN relay range
|
||||
network_mode: "host"
|
||||
env_file:
|
||||
- eturnal.env
|
||||
volumes:
|
||||
- /var/lib/caddy/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/turn.fruw.org:/opt/eturnal/tls
|
4
compose/eturnal/eturnal.env
Normal file
4
compose/eturnal/eturnal.env
Normal file
@ -0,0 +1,4 @@
|
||||
ETURNAL_RELAY_IPV4_ADDR=79.137.198.179
|
||||
ETURNAL_RELAY_MIN_PORT=52000
|
||||
ETURNAL_RELAY_MAX_PORT=59999
|
||||
ETURNAL_SECRET=$ETURNAL_SECRET
|
Reference in New Issue
Block a user