1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-24 20:41:03 +02:00
coturn/docker/docker-compose-redis.yml
Paul Menzel 801832e94f Replace coTURN by Coturn
The official spelling of *Coturn* seems to be just with a capital
starting letter, replace all occurrences of *coTURN* with the command
below.

    git grep -l coTURN | xargs sed -i 's/coTURN/Coturn/g'
2020-03-30 19:28:28 +02:00

65 lines
1.2 KiB
YAML

version: "3"
services:
# Redis
redis:
build:
context: ./redis
restart: unless-stopped
volumes:
- redis-data:/data
env_file:
- redis/redis.env
networks:
- backend
# Coturn
coturn:
build:
context: ./coturn
restart: always
volumes:
- ${PWD}/coturn/turnserver.conf:/etc/turnserver.conf
- ${PWD}/coturn/privkey.pem:/etc/ssl/private/privkey.pem
- ${PWD}/coturn/cert.pem:/etc/ssl/certs/cert.pem
ports:
## STUN/TURN
- "3478:3478"
- "3478:3478/udp"
- "3479:3479"
- "3479:3479/udp"
- "80:80"
- "80:80/udp"
## STUN/TURN SSL
- "5349:5349"
- "5349:5349/udp"
- "5350:5350"
- "5350:5350/udp"
- "443:443"
- "443:443/udp"
# Relay Ports
# - "49152-65535:49152-65535"
# - "49152-65535:49152-65535/udp"
networks:
- frontend
- backend
depends_on:
- redis
env_file:
- coturn/coturn.env
# DB
- redis/redis.env
volumes:
redis-data:
networks:
frontend:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.238.0/24
backend:
internal: true