Added composer yml's to override configuration#64
Merged
Conversation
234e19d to
2e5d947
Compare
rimi-itk
approved these changes
Apr 6, 2022
Comment on lines
+11
to
+30
| nginx: | ||
| labels: | ||
| - "traefik.http.routers.${COMPOSE_PROJECT_NAME}.middlewares=ITKBasicAuth@file" | ||
|
|
||
| mailhog: | ||
| image: mailhog/mailhog | ||
| networks: | ||
| - app | ||
| - frontend | ||
| labels: | ||
| - "traefik.enable=true" | ||
| - "traefik.docker.network=frontend" | ||
| - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}-http.rule=Host(`mailhog.${COMPOSE_SERVER_DOMAIN}`)" | ||
| - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}-http.entrypoints=web" | ||
| - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}-http.middlewares=redirect-to-https" | ||
| - "traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https" | ||
| - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}.rule=Host(`mailhog.${COMPOSE_SERVER_DOMAIN}`)" | ||
| - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}.entrypoints=websecure" | ||
| - "traefik.http.services.mailhog_${COMPOSE_PROJECT_NAME}.loadbalancer.server.port=8025" | ||
| - "traefik.http.routers.mailhog_${COMPOSE_PROJECT_NAME}.middlewares=ITKMailhogAuth@file" |
Contributor
There was a problem hiding this comment.
One could argue that it should be possible to activate “basic auth” (in nginx) and “mailhog” independently of each other.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket: https://jira.itkdev.dk/browse/SERV-534
Test setup:
Usage:
Note:
The idea is to have a basic file
docker-compose.server.ymlwith is then extended with one or more other yml files.More information on the way in docs.