services: coturn: container_name: coturn image: coturn/coturn:alpine restart: always network_mode: host command: - "--log-file=stdout" - "-c" - "/tmp/turnserver.conf" tmpfs: - /var/lib/coturn volumes: - ./turnserver.conf:/etc/coturn/server.conf - ./coturn-docker-entrypoint.sh:/usr/local/bin/docker-entrypoint.sh - ./secrets.conf:/etc/coturn/secrets.conf - ../turn-cert.pem:/etc/coturn/cert.pem - ../turn-pkey.pem:/etc/coturn/pkey.pem