Skip to content

Commit 89fc333

Browse files
authored
GitLab with Let's Encrypt Using Docker Compose
1 parent 5411158 commit 89fc333

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gitlab-traefik-letsencrypt-docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ services:
129129
command:
130130
# Set the log level (DEBUG, INFO, WARN, ERROR)
131131
- "--log.level=${TRAEFIK_LOG_LEVEL}"
132-
# Enable the built-in API and web-based dashboard on /dashboard
132+
# Enable the built-in API and web-based dashboard
133133
- "--api.dashboard=true"
134134
# Enable the /ping endpoint so we can health-check Traefik
135135
- "--ping=true"
@@ -179,15 +179,15 @@ services:
179179
retries: 3
180180
start_period: 5s
181181
labels:
182-
# Enable Traefik for this container.
182+
# Enable Traefik for this container
183183
- "traefik.enable=true"
184184
# A router to expose the Traefik dashboard
185185
- "traefik.http.routers.dashboard.rule=Host(`${TRAEFIK_HOSTNAME}`)"
186186
- "traefik.http.routers.dashboard.entrypoints=websecure"
187187
- "traefik.http.routers.dashboard.tls=true"
188188
- "traefik.http.routers.dashboard.tls.certresolver=letsencrypt"
189189
- "traefik.http.routers.dashboard.service=api@internal"
190-
# asic Authentication for the Traefik dashboard
190+
# Basic Authentication for the Traefik dashboard
191191
- "traefik.http.routers.dashboard.middlewares=authtraefik"
192192
- "traefik.http.middlewares.authtraefik.basicauth.users=${TRAEFIK_BASIC_AUTH}"
193193
# Specify the internal server port to the dashboard service

0 commit comments

Comments
 (0)