@@ -0,0 +1,12 @@
|
||||
[main]
|
||||
gpgcheck=1
|
||||
installonly_limit=3
|
||||
clean_requirements_on_remove=True
|
||||
best=False
|
||||
skip_if_unavailable=True
|
||||
#zchunk=False
|
||||
fastestmirror=True
|
||||
#max_parallel_downloads=10
|
||||
#ip_resolve=4
|
||||
#minrate=300k
|
||||
#timeout=20
|
||||
@@ -12,7 +12,9 @@ http:
|
||||
HostRegexp(`.+`)
|
||||
entryPoints:
|
||||
- web
|
||||
- websecure
|
||||
service: default
|
||||
tls: false
|
||||
|
||||
services:
|
||||
default:
|
||||
@@ -23,8 +25,3 @@ http:
|
||||
timeout: 3s
|
||||
servers:
|
||||
- url: "http://app:5000/"
|
||||
|
||||
# providers:
|
||||
# docker:
|
||||
# endpoint: "unix:///var/run/docker.sock"
|
||||
# exposedByDefault: false
|
||||
@@ -0,0 +1,35 @@
|
||||
log:
|
||||
# level: DEBUG
|
||||
level: INFO
|
||||
accessLog: {}
|
||||
|
||||
api:
|
||||
insecure: true
|
||||
dashboard: true
|
||||
debug: true
|
||||
disabledashboardad: false
|
||||
|
||||
entryPoints:
|
||||
traefik:
|
||||
address: :9009
|
||||
web:
|
||||
address: :80
|
||||
websecure:
|
||||
address: :443
|
||||
http:
|
||||
tls: {}
|
||||
|
||||
providers:
|
||||
file:
|
||||
directory: /etc/traefik/conf.d
|
||||
watch: true
|
||||
# http:
|
||||
# endpoint: "http://127.0.0.1:9000/api"
|
||||
# pollInterval: 42s
|
||||
# pollTimeout: 42s
|
||||
# tls:
|
||||
# ca: foobar
|
||||
# caOptional: true
|
||||
# cert: foobar
|
||||
# key: foobar
|
||||
# insecureSkipVerify: true
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
dnf -y install wget tar
|
||||
dnf clean all
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
wget https://github.com/traefik/traefik/releases/download/${TRAEFIKVERSION}/traefik_${TRAEFIKVERSION}_linux_amd64.tar.gz
|
||||
tar --directory=/usr/local/bin -xzf traefik_${TRAEFIKVERSION}_linux_amd64.tar.gz traefik
|
||||
rm -rf traefik_${TRAEFIKVERSION}_linux_amd64.tar.gz
|
||||
@@ -1,19 +0,0 @@
|
||||
log:
|
||||
# level: INFO
|
||||
level: DEBUG
|
||||
accessLog: {}
|
||||
|
||||
api:
|
||||
insecure: true
|
||||
dashboard: true
|
||||
debug: true
|
||||
disabledashboardad: false
|
||||
|
||||
entryPoints:
|
||||
web:
|
||||
address: ":80"
|
||||
|
||||
providers:
|
||||
file:
|
||||
directory: "/etc/traefik/conf.d"
|
||||
watch: true
|
||||
Reference in New Issue
Block a user