feat: routing bare metal
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
a213094d46
commit
b00a65a890
|
@ -65,6 +65,12 @@ COMPOSE_FILE="compose.yml"
|
|||
## used used by the coop-cloud monitoring stack
|
||||
#METRICS_ENABLED=1
|
||||
|
||||
#####################################################################
|
||||
# File provider directory configuration #
|
||||
# (Route bare metal and non-docker services on the machine!) #
|
||||
#####################################################################
|
||||
#FILE_PROVIDER_DIRECTORY_ENABLED=1
|
||||
|
||||
#####################################################################
|
||||
# Additional services #
|
||||
#####################################################################
|
||||
|
|
2
abra.sh
2
abra.sh
|
@ -1,3 +1,3 @@
|
|||
export TRAEFIK_YML_VERSION=v15
|
||||
export FILE_PROVIDER_YML_VERSION=v6
|
||||
export FILE_PROVIDER_YML_VERSION=v7
|
||||
export ENTRYPOINT_VERSION=v2
|
||||
|
|
|
@ -13,6 +13,7 @@ services:
|
|||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
- "letsencrypt:/etc/letsencrypt"
|
||||
- "file-providers:/etc/traefik/file-providers"
|
||||
configs:
|
||||
- source: traefik_yml
|
||||
target: /etc/traefik/traefik.yml
|
||||
|
@ -69,3 +70,4 @@ configs:
|
|||
|
||||
volumes:
|
||||
letsencrypt:
|
||||
file-providers:
|
||||
|
|
|
@ -8,8 +8,14 @@ providers:
|
|||
exposedByDefault: false
|
||||
network: proxy
|
||||
swarmMode: true
|
||||
{{ if eq (env "FILE_PROVIDER_DIRECTORY_ENABLED") "1" }}
|
||||
file:
|
||||
directory: /etc/traefik/file-providers
|
||||
watch: true
|
||||
{{ else }}
|
||||
file:
|
||||
filename: /etc/traefik/file-provider.yml
|
||||
{{ end }}
|
||||
|
||||
api:
|
||||
dashboard: {{ env "DASHBOARD_ENABLED" }}
|
||||
|
|
Loading…
Reference in New Issue