mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-02-24 00:48:43 +00:00
Compare commits
No commits in common. "480a3e39f6062022e356ca3c8f949596a19ed601" and "b319aa3a2a1d798564429a622c34c8fae33411db" have entirely different histories.
480a3e39f6
...
b319aa3a2a
@ -4,8 +4,18 @@
|
|||||||
|
|
||||||
# Notes
|
# 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.
|
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.
|
|
||||||
|
@ -13,8 +13,8 @@ services:
|
|||||||
- 3000:3000 # WEB UI;
|
- 3000:3000 # WEB UI;
|
||||||
volumes:
|
volumes:
|
||||||
- .env:/src/.env:ro
|
- .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/app:/src/app:ro
|
||||||
#- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/mirotalk/public:/src/public: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
|
||||||
#labels:
|
#labels:
|
||||||
#- traefik.enable=true
|
#- traefik.enable=true
|
||||||
#- traefik.http.routers.mirotalk.rule=Host(`meet.example.com`) # pls adjust
|
#- traefik.http.routers.mirotalk.rule=Host(`meet.example.com`) # pls adjust
|
||||||
|
Loading…
x
Reference in New Issue
Block a user