Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gga_load_data
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
abims
e-infra
gga_load_data
Commits
ec18206c
Commit
ec18206c
authored
3 years ago
by
Arthur Le Bars
Browse files
Options
Downloads
Patches
Plain Diff
removed traefik.yml from templates
parent
a06e74e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!3
release 1.0.1
,
!2
Corrections cloud
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/traefik.yml
+0
-120
0 additions, 120 deletions
templates/traefik.yml
with
0 additions
and
120 deletions
templates/traefik.yml
deleted
100644 → 0
+
0
−
120
View file @
a06e74e4
version
:
'
3.7'
services
:
traefik
:
image
:
traefik:2.1.6
command
:
-
"
--api"
-
"
--api.dashboard"
# - "--api.insecure=true" # added by lg to debug, for dashboard
-
"
--log.level=DEBUG"
-
"
--providers.docker"
-
"
--providers.docker.swarmMode=true"
-
"
--providers.docker.network=traefikbig"
# changed by lg from traefik to traefikbig
-
"
--entryPoints.web.address=:80"
-
"
--entryPoints.web.forwardedHeaders.trustedIPs=192.168.1.133"
# The ips of our upstream proxies: eci
-
"
--entryPoints.webs.address=:443"
-
"
--entryPoints.webs.forwardedHeaders.trustedIPs=192.168.1.133"
# The ips of our upstream proxies: eci
ports
:
-
8001:8080
# added by lg to debug, for dashboard
-
8888:80
-
8889:443
networks
:
-
traefikbig
volumes
:
-
/var/run/docker.sock:/var/run/docker.sock
deploy
:
placement
:
constraints
:
-
node.role == manager
labels
:
# - "traefik.http.routers.traefik-api.rule=PathPrefix(`/traefik`)"
-
"
traefik.http.routers.traefik-api.rule=PathPrefix(`/api`)
||
PathPrefix(`/dashboard`)
||
PathPrefix(`/traefik`)"
# lg
# - "traefik.http.routers.traefik-api.tls=true"
-
"
traefik.http.routers.traefik-api.entryPoints=web"
# lg
# - "traefik.http.routers.traefik-api.entryPoints=webs"
-
"
traefik.http.routers.traefik-api.service=api@internal"
-
"
traefik.http.middlewares.traefik-strip.stripprefix.prefixes=/traefik"
-
"
traefik.http.middlewares.traefik-auth.forwardauth.address=http://authelia:9091/api/verify?rd=https://auth.abims-gga.sb-roscoff.fr/"
-
"
traefik.http.middlewares.traefik-auth.forwardauth.trustForwardHeader=true"
# - "traefik.http.routers.traefik-api.middlewares=traefik-auth,traefik-strip"
-
"
traefik.http.routers.traefik-api.middlewares=traefik-strip"
# lg
# Dummy service for Swarm port detection. The port can be any valid integer value.
-
"
traefik.http.services.traefik-svc.loadbalancer.server.port=9999"
# Some generally useful middlewares for organisms hosting
-
"
traefik.http.middlewares.sp-auth.forwardauth.address=http://authelia:9091/api/verify?rd=https://auth.abims-gga.sb-roscoff.fr/"
-
"
traefik.http.middlewares.sp-auth.forwardauth.trustForwardHeader=true"
-
"
traefik.http.middlewares.sp-auth.forwardauth.authResponseHeaders=Remote-User,Remote-Groups"
# - "traefik.http.middlewares.sp-trailslash.redirectregex.regex=^(https?://[^/]+/sp/[^/]+)$$"
-
"
traefik.http.middlewares.sp-trailslash.redirectregex.regex=^(http?://[^/]+/sp/[^/]+)$$"
# lg
-
"
traefik.http.middlewares.sp-trailslash.redirectregex.replacement=$${1}/"
-
"
traefik.http.middlewares.sp-trailslash.redirectregex.permanent=true"
# - "traefik.http.middlewares.sp-app-trailslash.redirectregex.regex=^(https?://[^/]+/sp/[^/]+/[^/]+)$$"
-
"
traefik.http.middlewares.sp-app-trailslash.redirectregex.regex=^(http?://[^/]+/sp/[^/]+/[^/]+)$$"
# lg
-
"
traefik.http.middlewares.sp-app-trailslash.redirectregex.replacement=$${1}/"
-
"
traefik.http.middlewares.sp-app-trailslash.redirectregex.permanent=true"
-
"
traefik.http.middlewares.sp-prefix.stripprefixregex.regex=/sp/[^/]+"
-
"
traefik.http.middlewares.sp-app-prefix.stripprefixregex.regex=/sp/[^/]+/[^/]+"
-
"
traefik.http.middlewares.tripal-addprefix.addprefix.prefix=/tripal"
-
"
traefik.http.middlewares.sp-big-req.buffering.maxRequestBodyBytes=50000000"
-
"
traefik.http.middlewares.sp-huge-req.buffering.maxRequestBodyBytes=2000000000"
restart_policy
:
condition
:
on-failure
delay
:
5s
max_attempts
:
3
window
:
120s
authelia
:
image
:
authelia/authelia:4.12.0
networks
:
-
traefikbig
depends_on
:
-
authelia-redis
-
authelia-db
volumes
:
-
./authelia/:/etc/authelia/:ro
deploy
:
labels
:
-
"
traefik.http.routers.authelia.rule=Host(`auth.example.org`)"
-
"
traefik.http.services.authelia.loadbalancer.server.port=9091"
restart_policy
:
condition
:
on-failure
delay
:
5s
max_attempts
:
3
window
:
120s
authelia-redis
:
image
:
redis:5.0.7-alpine
command
:
[
"
redis-server"
,
"
--appendonly"
,
"
yes"
]
volumes
:
-
./authelia-redis/:/data/
networks
:
-
traefikbig
deploy
:
restart_policy
:
condition
:
on-failure
delay
:
5s
max_attempts
:
3
window
:
120s
authelia-db
:
image
:
postgres:12.2-alpine
environment
:
POSTGRES_PASSWORD
:
z3A,hQ-9
volumes
:
-
./docker_data/authelia_db/:/var/lib/postgresql/data/
networks
:
-
traefikbig
deploy
:
restart_policy
:
condition
:
on-failure
delay
:
5s
max_attempts
:
3
window
:
120s
networks
:
traefikbig
:
driver
:
overlay
name
:
traefikbig
ipam
:
config
:
-
subnet
:
10.50.0.0/16
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment