-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10750 from owncloud/revert-10746-ocis_full_proper…
…_label_naming Revert "[docs-only][chore] Improve readbility of traefik labels"
- Loading branch information
Showing
7 changed files
with
30 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,22 +8,22 @@ services: | |
command: | ||
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}" | ||
# letsencrypt configuration | ||
- "--certificatesResolvers.letsencrypt_http.acme.email=${TRAEFIK_ACME_MAIL:[email protected]}" | ||
- "--certificatesResolvers.letsencrypt_http.acme.storage=/certs/acme.json" | ||
- "--certificatesResolvers.letsencrypt_http.acme.httpChallenge.entryPoint=letsencrypt_http" | ||
- "--certificatesResolvers.letsencrypt_http.acme.caserver=${TRAEFIK_ACME_CASERVER:-https://acme-v02.api.letsencrypt.org/directory}" | ||
- "--certificatesResolvers.http.acme.email=${TRAEFIK_ACME_MAIL:[email protected]}" | ||
- "--certificatesResolvers.http.acme.storage=/certs/acme.json" | ||
- "--certificatesResolvers.http.acme.httpChallenge.entryPoint=http" | ||
- "--certificatesResolvers.http.acme.caserver=${TRAEFIK_ACME_CASERVER:-https://acme-v02.api.letsencrypt.org/directory}" | ||
# enable dashboard | ||
- "--api.dashboard=true" | ||
# define entrypoints | ||
- "--entryPoints.letsencrypt_http.address=:80" | ||
- "--entryPoints.letsencrypt_http.http.redirections.entryPoint.to=letsencrypt_https" | ||
- "--entryPoints.letsencrypt_http.http.redirections.entryPoint.scheme=https" | ||
- "--entryPoints.letsencrypt_https.address=:443" | ||
- "--entryPoints.http.address=:80" | ||
- "--entryPoints.http.http.redirections.entryPoint.to=https" | ||
- "--entryPoints.http.http.redirections.entryPoint.scheme=https" | ||
- "--entryPoints.https.address=:443" | ||
# change default timeouts for long-running requests | ||
# this is needed for webdav clients that do not support the TUS protocol | ||
- "--entryPoints.letsencrypt_https.transport.respondingTimeouts.readTimeout=12h" | ||
- "--entryPoints.letsencrypt_https.transport.respondingTimeouts.writeTimeout=12h" | ||
- "--entryPoints.letsencrypt_https.transport.respondingTimeouts.idleTimeout=3m" | ||
- "--entryPoints.https.transport.respondingTimeouts.readTimeout=12h" | ||
- "--entryPoints.https.transport.respondingTimeouts.writeTimeout=12h" | ||
- "--entryPoints.https.transport.respondingTimeouts.idleTimeout=3m" | ||
# docker provider (get configuration from container labels) | ||
- "--providers.docker.endpoint=unix:///var/run/docker.sock" | ||
- "--providers.docker.exposedByDefault=false" | ||
|
@@ -41,10 +41,10 @@ services: | |
- "traefik.enable=${TRAEFIK_DASHBOARD:-false}" | ||
# defaults to admin:admin | ||
- "traefik.http.middlewares.traefik-auth.basicauth.users=${TRAEFIK_BASIC_AUTH_USERS:-admin:$$apr1$$4vqie50r$$YQAmQdtmz5n9rEALhxJ4l.}" | ||
- "traefik.http.routers.traefik.entrypoints=letsencrypt_https" | ||
- "traefik.http.routers.traefik.entrypoints=https" | ||
- "traefik.http.routers.traefik.rule=Host(`${TRAEFIK_DOMAIN:-traefik.owncloud.test}`)" | ||
- "traefik.http.routers.traefik.middlewares=traefik-auth" | ||
- "traefik.http.routers.traefik.tls.certresolver=letsencrypt_http" | ||
- "traefik.http.routers.traefik.tls.certresolver=http" | ||
- "traefik.http.routers.traefik.service=api@internal" | ||
logging: | ||
driver: ${LOG_DRIVER:-local} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters