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 used the GitHub search to find a similar question and didn't find it.
I searched in the documentation/README.
I already searched in Google "How to do X" and didn't find any information.
I already read and followed all the tutorial in the docs/README and didn't find an answer.
Commit to Help
I commit to help with one of those options 👆
Example Code
# First part of the .env file at project root
# Domain
# This would be set to the production domain with an env var on deployment
# DOMAIN=localhost
DOMAIN=alang-my.tailscale.machine.ts.net
# Environment: local, staging, production
ENVIRONMENT=local
PROJECT_NAME="My Project Name"
STACK_NAME=my-stack-name
# Backend
# BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
BACKEND_CORS_ORIGINS="http://my.tailscale.machine.ts.net,http://my.tailscale.machine.ts.net:5173,https://my.tailscale.machine.ts.net,https://my.tailscale.machine.ts.net:5173,http://my.tailscale.machine.ts.net"
docker compose down
# Them manually deleting all related images, then
docker compose up -d
I can see that traefik is still trying to only serve on localhost. Accessing my custom domain returns a 404
Curiously, on the traefik dashboard, only the backend has the updated STACK_NAME applied to my backend, and all the rest still retained the project default stack name:
But no matter, as you can see, it is still trying to serve on localhost despite the fact that my env file changed to use a different domain.
Am I missing some configurations? Can someone help?
Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
First Check
Commit to Help
Example Code
Description
I followed the backend/development.md to change the domain. But even after doing
or
I can see that traefik is still trying to only serve on localhost. Accessing my custom domain returns a 404
Curiously, on the traefik dashboard, only the backend has the updated STACK_NAME applied to my backend, and all the rest still retained the project default stack name:
But no matter, as you can see, it is still trying to serve on localhost despite the fact that my env file changed to use a different domain.
Am I missing some configurations? Can someone help?
Thanks!
Operating System
Windows
Operating System Details
Docker version 26.0.0, build 2ae903e
Python Version
Python 3.12.2
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions