forked from cssninjaStudio/krypton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
22 lines (20 loc) · 880 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
networks:
cssninja-services:
external: true
services:
krypton-demo:
image: digisquad/cssninja.krypton-demo:latest
networks:
- cssninja-services
restart: 'unless-stopped'
labels:
traefik.enable: true
traefik.docker.network: 'cssninja-services'
traefik.http.routers.krypton-demo.entrypoints: 'http'
traefik.http.routers.krypton-demo.rule: 'Host(`krypton.${HOST:-127.0.0.1.nip.io}`)'
traefik.http.routers.krypton-demo.middlewares: 'https-redirect@file'
traefik.http.services.krypton-demo-https.loadbalancer.server.port: 8080
traefik.http.routers.krypton-demo-https.rule: 'Host(`krypton.${HOST:-127.0.0.1.nip.io}`)'
traefik.http.routers.krypton-demo-https.tls: true
traefik.http.routers.krypton-demo-https.entrypoints: 'https'
traefik.http.routers.krypton-demo-https.tls.certresolver: 'http'