mirror of
https://github.com/fruworg/infrastructure.git
synced 2024-11-16 05:17:17 +03:00
Create docker-compose.yml
This commit is contained in:
parent
b592ce4d6a
commit
15830737b7
24
eturnal/docker-compose.yml
Normal file
24
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
|
Loading…
Reference in New Issue
Block a user