mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-03-15 10:09:54 +00:00
Create docker-compose.yml
This commit is contained in:
parent
caad7220a0
commit
b9a62014a4
27
mirotalk/docker-compose.yml
Normal file
27
mirotalk/docker-compose.yml
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
version: '3.7'
|
||||||
|
|
||||||
|
services:
|
||||||
|
mirotalk:
|
||||||
|
image: mirotalk/p2p:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
container_name: mirotalk
|
||||||
|
hostname: mirotalk
|
||||||
|
#ports:
|
||||||
|
# - 3000:3000 # WEB UI
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
volumes:
|
||||||
|
- .env:/src/.env:ro
|
||||||
|
- /mnt/docker-volumes/mirotalk/app:/src/app:ro
|
||||||
|
- /mnt/docker-volumes/mirotalk/public:/src/public:ro
|
||||||
|
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
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
Loading…
x
Reference in New Issue
Block a user