Skip to content

Commit

Permalink
Merge pull request #1 from digikin/dashboard-feature
Browse files Browse the repository at this point in the history
Dashboard feature
  • Loading branch information
digikin authored Jun 26, 2019
2 parents 19510fd + 8fddda3 commit d453db2
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 98 deletions.
57 changes: 0 additions & 57 deletions README.md

This file was deleted.

21 changes: 0 additions & 21 deletions docker-compose.yml

This file was deleted.

1 change: 1 addition & 0 deletions template2/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fd
40 changes: 40 additions & 0 deletions template2/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
version: '3'

services:
traefik:
image: traefik:v1.7
command: --api --docker
ports:
- 80:80
networks:
- proxy
labels:
- "traefik.frontend.rule=Host:web.localhost"
- "traefik.port=8080"
volumes:
- ./traefik.toml:/traefik.toml
- /var/run/docker.sock:/var/run/docker.sock
nginx:
image: nginx:latest
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.frontend.rule=PathPrefix:/static/"
- "traefik.docker.network=proxy"
influxdb:
image: quay.io/influxdb/influxdb:2.0.0-alpha
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.backend=influx"
- "traefik.frontend.rule=Host:influx.localhost"
- "traefik.docker.network=proxy"
- "traefik.port=9999"
networks:
proxy:
external:
name: proxy
internal:
external: false
10 changes: 10 additions & 0 deletions template2/traefik.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "localhost"
watch = true
exposedByDefault = true

[web]
address=":8080"
[web.auth.basic]
users = ["admin:$apr1$A3524hz3$4k45BqlgN1aiwOs1pjMD9."]
20 changes: 0 additions & 20 deletions traefik.toml

This file was deleted.

0 comments on commit d453db2

Please sign in to comment.