-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Following the directions in the docs here:
https://www.triplit.dev/docs/self-hosting/docker
docker run -p 8080:6543 -e LOCAL_DATABASE_URL="./app.db" aspencloud/triplit-server
Then I open:
https://console.triplit.dev/localhost:6543
and I expect to be connected to the db. Is this not the case?
What is the token? Do I need to set one? The instructions dont say. This is inconstant since the dev docker server comes with a baked in token.
After much trial and error I found I need to explicitly set the JWT_TOKEN. And additionally the ports in the command are reversed. So this works:
docker run -p 6543:8080 -e JWT_SECRET="...." -e LOCAL_DATABASE_URL="./app.db" aspencloud/triplit-server
Metadata
Metadata
Assignees
Labels
No labels