This commit is contained in:
stebifan 2018-04-16 23:09:04 +02:00
parent ffc4eac8b5
commit 94b3556122
2 changed files with 51 additions and 3 deletions

View File

@ -49,7 +49,7 @@ services:
labels:
io.rancher.container.hostname_override: container_name
letsencrypt:
letsencrypt-map:
image: janeczku/rancher-letsencrypt:v0.5.0
environment:
API_VERSION: Production
@ -90,6 +90,47 @@ services:
io.rancher.container.create_agent: 'true'
service: letsencrypt
letsencrypt-grafana:
image: janeczku/rancher-letsencrypt:v0.5.0
environment:
API_VERSION: Production
AWS_ACCESS_KEY: ''
AWS_SECRET_KEY: ''
AZURE_CLIENT_ID: ''
AZURE_CLIENT_SECRET: ''
AZURE_RESOURCE_GROUP: ''
AZURE_SUBSCRIPTION_ID: ''
AZURE_TENANT_ID: ''
CERT_NAME: ${GRAFANA_DOMAIN}
CLOUDFLARE_EMAIL: ''
CLOUDFLARE_KEY: ''
DNSIMPLE_EMAIL: ''
DNSIMPLE_KEY: ''
DNS_RESOLVERS: 8.8.8.8:53,8.8.4.4:53
DOMAINS: ${GRAFANA_DOMAIN}
DO_ACCESS_TOKEN: ''
DYN_CUSTOMER_NAME: ''
DYN_PASSWORD: ''
DYN_USER_NAME: ''
EMAIL: s.hoffmann@hoffmann-hosting.de
EULA: 'Yes'
GANDI_API_KEY: ''
OVH_APPLICATION_KEY: ''
OVH_APPLICATION_SECRET: ''
OVH_CONSUMER_KEY: ''
PROVIDER: HTTP
PUBLIC_KEY_TYPE: RSA-2048
RENEWAL_PERIOD_DAYS: '20'
RENEWAL_TIME: '12'
VULTR_API_KEY: ''
volumes:
- /var/lib/rancher:/var/lib/rancher
- zertifikate:/etc/letsencrypt
labels:
io.rancher.container.agent.role: environment
io.rancher.container.create_agent: 'true'
service: letsencrypt
volumes:
meshviewer-data:
driver: rancher-nfs

View File

@ -61,10 +61,17 @@ services:
scale: 1
start_on_create: true
letsencrypt:
letsencrypt-map:
scale: 1
start_on_create: true
lb_config:
port_rules:
- target_port: 80
hostname: ${DOMAIN}
hostname: ${DOMAIN}
letsencrypt-grafana:
scale: 1
start_on_create: true
lb_config:
port_rules:
- target_port: 80
hostname: ${GRAFANA_DOMAIN}