2018-04-06 19:49:58 +00:00
|
|
|
version: '2'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
meshviewer:
|
|
|
|
image: hoffmannhosting/meshviewer-docker
|
|
|
|
volumes:
|
2018-04-10 15:41:01 +00:00
|
|
|
- meshviewer-data:/opt/meshviewer/build
|
2018-04-06 19:49:58 +00:00
|
|
|
labels:
|
|
|
|
io.rancher.container.hostname_override: container_name
|
2018-04-09 14:25:54 +00:00
|
|
|
io.rancher.container.start_once: true
|
2018-04-09 14:29:57 +00:00
|
|
|
tty: true
|
2018-04-10 15:06:00 +00:00
|
|
|
|
2018-04-06 19:49:58 +00:00
|
|
|
nginx:
|
|
|
|
image: nginx
|
2018-04-09 14:05:42 +00:00
|
|
|
volumes:
|
|
|
|
- meshviewer-data:/usr/share/nginx/html:ro
|
2018-04-06 19:49:58 +00:00
|
|
|
environment:
|
|
|
|
NGINX_HOST: ${DOMAIN}
|
|
|
|
NGINX_PORT: 80
|
|
|
|
labels:
|
|
|
|
io.rancher.container.hostname_override: container_name
|
2018-04-06 19:54:39 +00:00
|
|
|
service: https
|
2018-04-06 19:49:58 +00:00
|
|
|
|
2018-04-10 15:06:00 +00:00
|
|
|
grafana:
|
|
|
|
image: grafana/grafana
|
|
|
|
environment:
|
|
|
|
GF_SERVER_ROOT_URL: https://${GRAFANA_DOMAIN}
|
|
|
|
GF_SECURITY_ADMIN_PASSWORD: ${GRAFANA_PASSWORD}
|
|
|
|
volumes:
|
|
|
|
- grafana:/var/lib/grafana
|
|
|
|
links:
|
|
|
|
- influxdb:influxdb
|
|
|
|
labels:
|
|
|
|
io.rancher.container.pull_image: always
|
|
|
|
service: 3000
|
|
|
|
|
|
|
|
influxdb:
|
|
|
|
image: tutum/influxdb
|
|
|
|
volumes:
|
|
|
|
- influxdb:/data
|
|
|
|
environment:
|
|
|
|
PRE_CREATE_DB: freifunk
|
|
|
|
ADMIN_USER: freifunk
|
|
|
|
INFLUXDB_INIT_PWD: ${INFLUXDB_PASSWORD}
|
|
|
|
ports:
|
|
|
|
- ${INFLUX_8083}:8083
|
|
|
|
- ${INFLUX_8086}:8086
|
|
|
|
labels:
|
|
|
|
io.rancher.container.hostname_override: container_name
|
|
|
|
|
2018-04-16 21:16:32 +00:00
|
|
|
redirect-https:
|
|
|
|
image: hoffmannhosting/docker-nginx-https-redirect
|
|
|
|
labels:
|
|
|
|
io.rancher.container.hostname_override: container_name
|
|
|
|
service: http
|
|
|
|
|
2018-04-16 21:09:04 +00:00
|
|
|
letsencrypt-map:
|
2018-04-06 19:49:58 +00:00
|
|
|
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: ${DOMAIN}
|
|
|
|
CLOUDFLARE_EMAIL: ''
|
|
|
|
CLOUDFLARE_KEY: ''
|
|
|
|
DNSIMPLE_EMAIL: ''
|
|
|
|
DNSIMPLE_KEY: ''
|
|
|
|
DNS_RESOLVERS: 8.8.8.8:53,8.8.4.4:53
|
|
|
|
DOMAINS: ${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
|
|
|
|
|
2018-04-16 21:09:04 +00:00
|
|
|
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
|
|
|
|
|
2018-04-06 19:49:58 +00:00
|
|
|
volumes:
|
|
|
|
meshviewer-data:
|
|
|
|
driver: rancher-nfs
|
2018-04-15 10:17:38 +00:00
|
|
|
influxdb:
|
|
|
|
driver: rancher-nfs
|
2018-04-06 19:49:58 +00:00
|
|
|
zertifikate:
|
|
|
|
driver: local
|