add dev compose
This commit is contained in:
parent
8ab812dce0
commit
b696450d92
23
docker-compose-dev.yaml
Normal file
23
docker-compose-dev.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
services:
|
||||
videohotmix:
|
||||
build: .
|
||||
networks:
|
||||
- web
|
||||
volumes:
|
||||
- /data:/mnt/data:ro
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.hotmixes.rule=Host(`dev.videohotmix.net`) || Host(`dev.panamaracing.club`)
|
||||
- traefik.http.routers.hotmixes.entrypoints=web
|
||||
- traefik.http.routers.hotmixes.middlewares=redirect-https-hotmixes
|
||||
- traefik.http.middlewares.redirect-https-hotmixes.redirectscheme.scheme=https
|
||||
|
||||
- traefik.http.routers.hotmixes_ssl.rule=Host(`dev.videohotmix.net`) || Host(`dev.panamaracing.club`)
|
||||
- traefik.http.routers.hotmixes_ssl.entrypoints=websecure
|
||||
- traefik.http.routers.hotmixes_ssl.tls.certresolver=myresolver
|
||||
|
||||
- traefik.http.services.hotmixes.loadbalancer.server.port=80
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
Loading…
Reference in New Issue
Block a user