fix: use appropriate environment variable to pass the auth token to the UI app
Fix for https://github.com/vitabaks/autobase/issues/1354
There is no need for this change.
See comment https://github.com/vitabaks/autobase/issues/1354#issuecomment-3568816545
Hmmm a fix for that issue is definitely necessary :)
Have you tried following your official setup guide to the dot? It does not work out of the box... Which is frustrating when you do such a great work with this product otherwise.... The new users will get discouraged from using your solution from the moment they reach the login page because of the currently misguided doc...
At the very minimum the alias should get looked at as it does not work currently
Yes, I tried it, the demo site works through docker compose.
Can you please try it on a fresh setup? I followed your doc on a random server Auth failed up until i applied the change i am suggesting
Yes, I'll check it.
Can you please try it on a fresh setup?
vitabaks@MacBook-Pro-Vitaliy postgresql_cluster % cd console
vitabaks@MacBook-Pro-Vitaliy console % cat .env.example
DOMAIN=
EMAIL=
AUTH_TOKEN=
vitabaks@MacBook-Pro-Vitaliy console % cp .env.example .env
vitabaks@MacBook-Pro-Vitaliy console % nano .env
vitabaks@MacBook-Pro-Vitaliy console % cat .env
DOMAIN=test.autobase.tech
[email protected]
AUTH_TOKEN=test
vitabaks@MacBook-Pro-Vitaliy console %
vitabaks@MacBook-Pro-Vitaliy console % docker compose up -d
[+] Running 8/8
✔ Network autobase Created 0.0s
✔ Volume "console_postgres" Cre... 0.0s
✔ Container autobase-console-db Healthy 5.8s
! autobase-console-db The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
✔ Container autobase-console-api Healthy 16.3s
! autobase-console-api The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
✔ Container autobase-console-ui Started 16.4s
! autobase-console-ui The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
vitabaks@MacBook-Pro-Vitaliy console %
result:
@gsalingu no problem.