forked from Haxxnet/Compose-Examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 1.14 KB
/
Copy pathdocker-compose.yml
File metadata and controls
24 lines (23 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: '3.7'
services:
mirotalk:
image: mirotalk/p2p:latest
restart: unless-stopped
container_name: mirotalk
hostname: mirotalk
ports:
# use a reverse proxy with SSL/TLS support
# otherwise webrtc won't work with plaintext http after Chrome 47+
# see https://stackoverflow.com/questions/52759992/how-to-access-camera-and-microphone-in-chrome-without-https/58449078#58449078
- 3000:3000 # WEB UI;
volumes:
- .env:/src/.env:ro
#- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mirotalk/app:/src/app:ro # only necessary if you want to adjust the code itself (js, css, etc.)
#- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mirotalk/public:/src/public:ro # only necessary if you want to adjust the code itself (js, css, etc.)
#labels:
#- traefik.enable=true
#- traefik.http.routers.mirotalk.rule=Host(`meet.example.com`) # pls adjust
#- traefik.http.services.mirotalk.loadbalancer.server.port=3000
#- traefik.docker.network=proxy
## Part for local lan services only; disable to expose externally
##- traefik.http.routers.mirotalk.middlewares=local-ipwhitelist@file