Hi <@498057949541826571>, can i override default s...
# support-questions-legacy
i
Hi @rp_st, can i override default supertokens self-hosted port? by default it is 3567, but i want 4000 for example(bc i have different instances of supertokens)
r
hey! you can
one min
i
and i cant do it with docker-compose?
r
well, with docker, you can just map it to a different port on the host machine
for that, you can see docker docs.
i
i do things like that
expose: - 3568 ports: - 3568:3568
but it start on 3567 anyway
r
yea so these need to change
no i mean you need to map the 3567 to 3568. You have done
3568:3568
which maps 3568 to 3568
anyway, this is more of a docker compose issue
And i don't quite recall how to do this at this time.
i
okey, and another question, i see dashboard recipe, so, what kind of token i should inject there
?
r
you mean the API key?
i
yeah
r
anything you like.. basically that should be only known to you and your team
cause when someone visits the dashboard, it will ask them for an API key, and they have to enter what's provided by you in that config
i
right, and dashboard has host and port too? and what are default values?
r
the default is just
${apiDomain}/${apiBasePath}/dashbord
so if your apidomain and localhost:3001, and apiBasePath is /auth, then if you visit localhost:3001/auth/dashboard, you will see it
for example, this https://api-emailpassword.demo.supertokens.com/auth/dashboard (is for the demo app we have live)
also, the dashboard is really basic.. thats why we haven't really documented it anywhere.
it's all still WIP
but at least you can see list of users.
i
Okey, and last question, if i use saas, can i remove users?
r
via the dashboard?
i
via dashboard and at all
r
you can do everything in SaaS that you can do in self-hosted, other than directly access the database (for production env)
so yea, you can
i
Ok, thank you for this guide
😉
r
lmk when you think of the dashboard so far - if you have any feedback, will appreciate it
i
it is good to get information from dashboard about all users, it works correct, but it will be super to edit user role, status or remove users via dashboard(bc user management is only user view now)
r
noted! All of these are being worked on 🙂
6 Views