Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Labels for Front Router such as Traefik #460

Open
hongkongkiwi opened this issue Feb 21, 2020 · 0 comments
Open

Docker Labels for Front Router such as Traefik #460

hongkongkiwi opened this issue Feb 21, 2020 · 0 comments

Comments

@hongkongkiwi
Copy link

Hi there, I would like to have Traefik as the router which sits in front of the services.

Traefik can automatically read docker labels to create a route to that service. Is there a way we can add a file in the project to specify the labels?

I'm thinking it could be something like .fx-docker-args and could read something like this

label="traefik.route.%fx_service_name.port = %fx_service_port"
label="traefik.route.%fx_service_name.type = https"

So then each time the docker is redeployed it will append these to the docker up command.

@metrue metrue mentioned this issue Feb 21, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant