mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-12-18 08:10:23 +00:00
Update docker-compose.yml
This commit is contained in:
parent
fdc85b4832
commit
96df49237d
|
@ -6,22 +6,16 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: mirotalk
|
container_name: mirotalk
|
||||||
hostname: mirotalk
|
hostname: mirotalk
|
||||||
#ports:
|
ports:
|
||||||
# - 3000:3000 # WEB UI
|
- 3000:3000 # WEB UI
|
||||||
networks:
|
|
||||||
- proxy
|
|
||||||
volumes:
|
volumes:
|
||||||
- .env:/src/.env:ro
|
- .env:/src/.env:ro
|
||||||
- /mnt/docker-volumes/mirotalk/app:/src/app:ro
|
- /mnt/docker-volumes/mirotalk/app:/src/app:ro
|
||||||
- /mnt/docker-volumes/mirotalk/public:/src/public:ro
|
- /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
|
||||||
- traefik.http.services.mirotalk.loadbalancer.server.port=3000
|
#- traefik.http.services.mirotalk.loadbalancer.server.port=3000
|
||||||
- traefik.docker.network=proxy
|
#- traefik.docker.network=proxy
|
||||||
# Part for local lan services only; disable to expose externally
|
## Part for local lan services only; disable to expose externally
|
||||||
#- traefik.http.routers.mirotalk.middlewares=local-ipwhitelist@file
|
##- traefik.http.routers.mirotalk.middlewares=local-ipwhitelist@file
|
||||||
|
|
||||||
networks:
|
|
||||||
proxy:
|
|
||||||
external: true
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user