Update docker-compose.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-11-09 20:59:10 +00:00
parent d48badd62f
commit f4995fd8e4
1 changed files with 11 additions and 3 deletions

View File

@ -48,12 +48,16 @@ services:
- ICECAST_RELAY_PASSWORD=hackme
labels:
- "traefik.enable=true"
- "traefik.http.routers.radio-iceast-http.rule="Host('iceast.radio.dodsorf.as')"
- "traefik.http.services.radio-icecast.loadbalancer.server.port=8000"
- "traefik.http.routers.radio-iceast-http.rule=Host(`iceast.radio.dodsorf.as`)"
- "traefik.http.routers.radio-icecast-http.middlewares=redirect@file"
- "traefik.http.routers.radio-icecast-http.entrypoints=web"
- "traefik.http.routers.radio-icecast-https.entrypoints=websecure"
- "traefik.http.routers.radio-icecast-https.rule=Host(`icecast.radio.dodsorf.as`)"
- "traefik.http.routers.radio-icecast-https.tls=true"
- "traefik.http.routers.radio-icecast-https.tls.certresolver=normal"
- "traefik.http.routers.radio-icecast-https.entrypoints=websecure"
networks:
- reverse
- default
@ -68,10 +72,14 @@ services:
- ./state/playlists:/playlists
labels:
- "traefik.enable=true"
- "traefik.http.routers.radio-web-http.rule="Host('radio.dodsorf.as')"
- "traefik.http.services.radio-web.loadbalancer.server.port=80"
- "traefik.http.routers.radio-web-http.rule=Host(`radio.dodsorf.as`)"
- "traefik.http.routers.radio-web-http.middlewares=redirect@file"
- "traefik.http.routers.radio-web-http.entrypoints=web"
- "traefik.http.routers.radio-web-https.rule=Host(`radio.dodsorf.as`)"
- "traefik.http.routers.radio-web-https.tls=true"
- "traefik.http.routers.radio-web-https.entrypoints=websecure"
- "traefik.http.routers.radio-web-https.tls.certresolver=normal"
networks: