Compose-Examples/examples/mirotalk/docker-compose.yml

25 lines
976 B
YAML
Raw Normal View History

2023-02-17 19:07:52 +00:00
version: '3.7'
services:
mirotalk:
image: mirotalk/p2p:latest
restart: unless-stopped
container_name: mirotalk
hostname: mirotalk
2023-02-19 04:00:46 +00:00
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;
2023-02-17 19:07:52 +00:00
volumes:
- .env:/src/.env:ro
- /mnt/docker-volumes/mirotalk/app:/src/app:ro
- /mnt/docker-volumes/mirotalk/public:/src/public:ro
2023-02-19 04:00:46 +00:00
#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