How can i configure Internal Host for Applications? #405
Replies: 4 comments 4 replies
-
|
I think this should be added to the docs. |
Beta Was this translation helpful? Give feedback.
-
|
By default every application/database comes with a hostname which is next to the name of the application usually is something like |
Beta Was this translation helpful? Give feedback.
-
|
@Siumauricio Hello! We've created a service using Dockerfile (branch deploy) and configured a Traefik domain, and the configuration in the advanced tab was generated correctly. However, it's not working (just getting a 404 error). Is there any additional configuration needed in this case? Here's the generated YAML: # fake values
http:
routers:
test-router:
rule: >-
Host(`test-domain.traefik.me`)
service: test-service
middlewares: []
entryPoints:
- web
services:
test-service:
loadBalancer:
servers:
- url: http://test-host:3000
passHostHeader: trueAdditionally, we've created a domain using an A record in DNS, but it still doesn't work. (Using docker-compose services works perfectly with "labels" configuration) Thanks in advance |
Beta Was this translation helpful? Give feedback.
-
|
I have the same question. After deploy an application, I checked the Trafik setting in the advanced panel. Do I have to set up a domain for it to work? |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I saw in the docs that I can specify an internal host/port to connect to the database.
How can I do the same thing for Applications?
For example, if I have a service that I don't want to expose to the public, but I want other services to see it, how can I connect them?
Is it by the App name field when I create the service, when I tried to create services with an existing app name, it didn't error out, so this cannot be possible.
And when I open a service I see, which I guess, is the container name like this foo-9asdas...
Can i connect to the service by using host
https://foo-9asdas:<PORT>Beta Was this translation helpful? Give feedback.
All reactions