rancher-katalog/templates/meshviewer/0/docker-compose.yml
2018-04-10 17:41:01 +02:00

98 lines
2.3 KiB
YAML

version: '2'
services:
meshviewer:
image: hoffmannhosting/meshviewer-docker
volumes:
- meshviewer-data:/opt/meshviewer/build
labels:
io.rancher.container.hostname_override: container_name
io.rancher.container.start_once: true
tty: true
nginx:
image: nginx
volumes:
- meshviewer-data:/usr/share/nginx/html:ro
environment:
NGINX_HOST: ${DOMAIN}
NGINX_PORT: 80
labels:
io.rancher.container.hostname_override: container_name
service: https
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
letsencrypt:
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
volumes:
meshviewer-data:
driver: rancher-nfs
zertifikate:
driver: local