https://supertokens.com/ logo
#support-questions
Title
# support-questions
t

The Silent Memer....

03/30/2022, 1:41 PM
When trying to run the docker command listed on docker hub, I get this error:
| ERROR | pid: cbf2ff35-f505-4059-b612-ce85dd43a15a | [http-nio-0.0.0.0-3567-exec-1] thread | io.supertokens.webserver.api.core.NotFoundAPI.service(NotFoundAPI.java:44) |
I'm running on an ubuntu VPS if that would affect anything.
r

rp

03/30/2022, 1:42 PM
How are you running the docker image? And how did you get this error?
t

The Silent Memer....

03/30/2022, 1:45 PM
Using this command that I found on the docker hub: https://hub.docker.com/r/supertokens/supertokens-postgresql
Copy code
bash
docker run \
    -p 3567:3567 \
    -e POSTGRESQL_CONNECTION_URI="postgresql://username:password@host:port/dbName" \
    -d registry.supertokens.io/supertokens/supertokens-postgresql
I also tried using the docker compose @User wrote up: https://discord.com/channels/603466164219281420/958617701029388288/958619798948941824
Copy code
yaml
supertoken-users:
    image: registry.supertokens.io/supertokens/supertokens-postgresql
    ports:
      - '3567:3567'
    environment:
      - MYSQL_USER=username
      - MYSQL_PASSWORD=password
      - MYSQL_HOST=host
      - MYSQL_PORT=3306
      - MYSQL_DATABASE_NAME=supertokens
The error occurs when trying to navigate to the app in the browser. Like,
hostname.com:3567
. What is see in the browser is a message that reads
Not found
r

rp

03/30/2022, 1:52 PM
Try navigating to hostname.com:3567/hello
t

The Silent Memer....

03/30/2022, 1:59 PM
that gives me message
Hello
r

rp

03/30/2022, 3:17 PM
Yes. So it is working as expected.
5 Views