Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
f46ee123
Unverified
Commit
f46ee123
authored
Jan 27, 2020
by
Marcus Andersson
Committed by
GitHub
Jan 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build: Added devenv docker block for testing grafana with traefik.
parent
8f2f07ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
0 deletions
+56
-0
devenv/docker/blocks/traefik/configs/subpath_no_rewrite.yml
+19
-0
devenv/docker/blocks/traefik/docker-compose.yml
+19
-0
devenv/docker/blocks/traefik/traefik.yml
+18
-0
No files found.
devenv/docker/blocks/traefik/configs/subpath_no_rewrite.yml
0 → 100644
View file @
f46ee123
http
:
middlewares
:
compress-response
:
compress
:
{}
services
:
grafana-subpath
:
loadBalancer
:
servers
:
-
url
:
'
http://grafana-subpath:3000/'
routers
:
grafana-subpath
:
entryPoints
:
-
web
middlewares
:
-
compress-response
rule
:
'
Path(`/grafana`)
||
PathPrefix(`/grafana/`)'
service
:
grafana-subpath
devenv/docker/blocks/traefik/docker-compose.yml
0 → 100644
View file @
f46ee123
version
:
'
3'
services
:
traefik
:
image
:
traefik:v2.1
volumes
:
-
'
./traefik.yml:/etc/traefik/traefik.yml'
-
'
./configs:/etc/traefik/configs'
ports
:
-
'
80:80'
-
'
8080:8080'
links
:
-
grafana-subpath
grafana-subpath
:
image
:
grafana/grafana:latest
environment
:
-
GF_SERVER_ROOT_URL=/grafana
-
GF_SERVER_SERVE_FROM_SUB_PATH=true
devenv/docker/blocks/traefik/traefik.yml
0 → 100644
View file @
f46ee123
## traefik.yml
# Entrypoints enabled
entryPoints
:
web
:
address
:
'
:80'
# API and dashboard configuration
api
:
insecure
:
true
# Loggings
log
:
{}
# File configurations folder
providers
:
file
:
directory
:
/etc/traefik/configs
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment