Compare commits

...

2 Commits

Author SHA1 Message Date
LRVT
480a3e39f6
Update README.md
fix
2023-03-08 15:23:49 +01:00
LRVT
bef36f30dd
Update docker-compose.yml 2023-03-08 15:21:48 +01:00
2 changed files with 5 additions and 15 deletions

View File

@ -4,18 +4,8 @@
# Notes
You have to place the `/app/` and `/public/` directories at your Docker bind volume mounts.
````
git clone https://github.com/miroslavpejic85/mirotalk
cp -R mirotalk/app/ /mnt/docker-volumes/mirotalk/app
cp -R mirotalk/public/ /mnt/docker-volumes/mirotalk/public
rm -rf mirotalk
# may move the .env too and adjust compose file
# then docker compose up
````
You must use a reverse proxy and enable SSL to proxy to the container port TCP/3000.
This is necessary as you are not allowed to run WebRTC on plaintext http after Chrome 47+.
This is necessary as you are not allowed to run WebRTC on plaintext HTTP after Chrome 47+.
For testing purposes only, running MiroTalk on localhost (127.0.0.1) should work fine though.

View File

@ -13,8 +13,8 @@ services:
- 3000:3000 # WEB UI;
volumes:
- .env:/src/.env:ro
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mirotalk/app:/src/app:ro
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mirotalk/public:/src/public: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