mirror of
https://github.com/sablierapp/sablier.git
synced 2026-01-05 12:25:29 +01:00
Added dev config
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
http:
|
||||
middlewares:
|
||||
ondemand-60:
|
||||
ondemand-timeout-60:
|
||||
plugin:
|
||||
dev:
|
||||
serviceUrl: http://ondemand:10000
|
||||
traefik-ondemand-plugin:
|
||||
name: TRAEFIK_HACKATHON_whoami
|
||||
serviceUrl: http://ondemand:10000
|
||||
timeout: 60
|
||||
|
||||
services:
|
||||
@@ -19,5 +19,5 @@ http:
|
||||
entryPoints:
|
||||
- "http"
|
||||
middlewares:
|
||||
- ondemand-60
|
||||
- ondemand-timeout-60
|
||||
service: "whoami"
|
||||
23
config_dev.yml
Normal file
23
config_dev.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
http:
|
||||
middlewares:
|
||||
ondemand-60:
|
||||
plugin:
|
||||
dev:
|
||||
serviceUrl: http://ondemand:10000
|
||||
name: TRAEFIK_HACKATHON_whoami
|
||||
timeout: 60
|
||||
|
||||
services:
|
||||
whoami:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://whoami:80"
|
||||
|
||||
routers:
|
||||
whoami:
|
||||
rule: PathPrefix(`/whoami`)
|
||||
entryPoints:
|
||||
- "http"
|
||||
middlewares:
|
||||
- ondemand-60
|
||||
service: "whoami"
|
||||
@@ -6,9 +6,10 @@ api:
|
||||
insecure: true
|
||||
|
||||
experimental:
|
||||
devPlugin:
|
||||
goPath: /plugins/go
|
||||
moduleName: github.com/acouvreur/traefik-ondemand-plugin
|
||||
plugins:
|
||||
traefik-ondemand-plugin:
|
||||
moduleName: "github.com/acouvreur/traefik-ondemand-plugin"
|
||||
version: "v0.0.2"
|
||||
|
||||
entryPoints:
|
||||
http:
|
||||
|
||||
25
traefik_dev.yml
Executable file
25
traefik_dev.yml
Executable file
@@ -0,0 +1,25 @@
|
||||
pilot:
|
||||
token: "$TRAEFIK_PILOT_TOKEN"
|
||||
|
||||
api:
|
||||
dashboard: true
|
||||
insecure: true
|
||||
|
||||
experimental:
|
||||
devPlugin:
|
||||
goPath: /plugins/go
|
||||
moduleName: github.com/acouvreur/traefik-ondemand-plugin
|
||||
|
||||
entryPoints:
|
||||
http:
|
||||
address: ":80"
|
||||
forwardedHeaders:
|
||||
insecure: true
|
||||
|
||||
providers:
|
||||
docker:
|
||||
swarmMode: true
|
||||
exposedByDefault: false
|
||||
file:
|
||||
filename: "/etc/traefik/config.yml"
|
||||
watch: true
|
||||
Reference in New Issue
Block a user