You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how to convince traefik to route the api and auth containers. I can access the web with my config, at booklogr.example.com but the nginx config suggests I would need to route api.example.com and auth.example.com which I'd rather do, but I'm not sure how else to configure it.
Additionally it was not clear in the docs, but I figured it out, that in the DATABASE_URL variable, you likely need to change "localhost" to the name of your container for it to work, or at least I did. Perhaps I glossed over where it says that.
The text was updated successfully, but these errors were encountered:
Hi,
Thank you for showing interest in this project.
Sadly, I myself do not use Traefik and cannot help you in that regard.
What I can say though is that both api and auth need to be accessible for the user. The actual web container does not talk to any container.
There are also env variables that need to be set in the provided docker-compose.yml file for the web container related to api and auth endpoints,
BL_API_ENDPOINT=http://localhost:5000/ # CHANGE THIS TO POINT TO THE EXTERNAL ADRESS THE USER CAN ACCESS
BL_AUTH_ENDPOINT=http://localhost:5001 # CHANGE THIS TO POINT TO THE EXTERNAL ADRESS THE USER CAN ACCESS
>Additionally it was not clear in the docs, but I figured it out, that in the DATABASE_URL variable, you likely need to change "localhost" to the name of your container for it to work, or at least I did. Perhaps I glossed over where it says that.
Great input! I will add that information to the docs. May even change the example env file to point to container instead of localhost.
I'm not sure how to convince traefik to route the api and auth containers. I can access the web with my config, at booklogr.example.com but the nginx config suggests I would need to route api.example.com and auth.example.com which I'd rather do, but I'm not sure how else to configure it.
Additionally it was not clear in the docs, but I figured it out, that in the DATABASE_URL variable, you likely need to change "localhost" to the name of your container for it to work, or at least I did. Perhaps I glossed over where it says that.
The text was updated successfully, but these errors were encountered: