From 9f8d265c97219dfbccf97e9f925ea9e5d0d81bfa Mon Sep 17 00:00:00 2001 From: taudris Date: Sun, 29 Jan 2023 00:13:22 -0800 Subject: [PATCH] Add mirotalk. --- mirotalk/docker-compose.yml | 14 ++++++++++ mirotalk/mirotalk.env | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 mirotalk/docker-compose.yml create mode 100644 mirotalk/mirotalk.env diff --git a/mirotalk/docker-compose.yml b/mirotalk/docker-compose.yml new file mode 100644 index 0000000..8b2bc77 --- /dev/null +++ b/mirotalk/docker-compose.yml @@ -0,0 +1,14 @@ +version: '3.8' + +services: + mirotalk: + image: mirotalk:latest + volumes: + - /home/mirotalk/mirotalk.env:/src/.env:ro + restart: unless-stopped + ports: + - '8600:8600' + environment: + - PUID=1004 #mirotalk #set to match the user that has permission to the volume mounts + - PGID=1004 #mirotalk #set to match the user that has permission to the volume mounts + - TZ=America/Los_Angeles diff --git a/mirotalk/mirotalk.env b/mirotalk/mirotalk.env new file mode 100644 index 0000000..eee141e --- /dev/null +++ b/mirotalk/mirotalk.env @@ -0,0 +1,52 @@ +# Signaling Server listen port + +PORT=8600 + +# Ngrok +# 1. Goto https://ngrok.com +# 2. Get started for free +# 3. Copy YourNgrokAuthToken: https://dashboard.ngrok.com/get-started/your-authtoken + +NGROK_ENABLED=false +NGROK_AUTH_TOKEN=YourNgrokAuthToken + +# Stun +# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ + +STUN=stun:stun.l.google.com:19302 + +# Turn +# Recommended: https://github.com/coturn/coturn +# Check: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ + +TURN_ENABLED=false +TURN_URLS=turn:YourTurnServer +TURN_USERNAME=YourTurnUsername +TURN_PASSWORD=YourTurnPassword + +# API +# The response will give you a entrypoint / Room URL for your meeting. +# curl -X POST "http://localhost:3000/api/v1/meeting" -H "authorization: mirotalk_default_secret" -H "Content-Type: application/json" + +API_KEY_SECRET=cCYo7VkJyr4gM5nqfQVb + +# Sentry (optional) +# 1. Goto https://sentry.io/ +# 2. Create account +# 3. Goto Settings/Projects/YourProjectName/Client Keys (DSN) + +SENTRY_ENABLED=false +SENTRY_DSN=YourClientKeyDSN +SENTRY_TRACES_SAMPLE_RATE=1.0 + +# Slack Integration (optional) +# 1. Goto https://api.slack.com/apps/ +# 2. Create your app +# 3. On Settings - Basic Information - App Credentials chose your Signing Secret +# 4. Create a Slash Commands and put as Request URL: https://your.domain.name/slack + +SLACK_ENABLED=false +SLACK_SIGNING_SECRET=YourSlackSigningSecret + +# Auto deploy on Railway +# https://railway.app/new/template/mirotalk?referralCode=mirotalk \ No newline at end of file