https redirect

This commit is contained in:
stebifan 2018-04-16 23:16:32 +02:00
parent 94b3556122
commit 82c248f6f6
2 changed files with 16 additions and 0 deletions

View File

@ -49,6 +49,12 @@ services:
labels:
io.rancher.container.hostname_override: container_name
redirect-https:
image: hoffmannhosting/docker-nginx-https-redirect
labels:
io.rancher.container.hostname_override: container_name
service: http
letsencrypt-map:
image: janeczku/rancher-letsencrypt:v0.5.0
environment:

View File

@ -60,6 +60,16 @@ services:
influxdb:
scale: 1
start_on_create: true
lb_config:
port_rules:
- target_port: 80
hostname: ${DOMAIN}
- target_port: 80
hostname: ${GRAFANA_DOMAIN}
redirect-https:
scale: 1
start_on_create: true
letsencrypt-map:
scale: 1