Create docker-compose.yml

This commit is contained in:
Руслан 2023-08-22 23:41:36 +06:00 committed by GitHub
parent b592ce4d6a
commit 15830737b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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