#community-help

Accessing Server Page on Typesense Docker Image

TLDR gab inquired about accessing the server page of a Typesense Docker image. Kishore Nallan clarified that Typesense does not have server admin pages and APIs are exposed on port 8108.

Powered by Struct AI
8
28mo
Solved
Join the chat
Jul 27, 2021 (28 months ago)
gab
Photo of md5-8be2a24edf7a95c9c74abce4b1130c3e
gab
09:05 AM
Hi,
I'm trying to use a docker image for Typesense. Even if it runs well, I cannot find how to access the server page.

I20210726 14:26:01.141592 1 typesense_server_utils.cpp:306] Starting Typesense 0.21.0

I20210726 14:26:01.141644 1 typesense_server_utils.cpp:309] Typesense is using jemalloc.

I20210726 14:26:01.141834 1 typesense_server_utils.cpp:358] Thread pool size: 96

I20210726 14:26:01.157956 1 store.h:61] Initializing DB by opening state dir: /data/db

I20210726 14:26:01.169329 1 store.h:61] Initializing DB by opening state dir: /data/meta

I20210726 14:26:01.174690 1 typesense_server_utils.cpp:422] Starting API service...

I20210726 14:26:01.174698 256 typesense_server_utils.cpp:209] Since no --nodes argument is provided, starting a single node Typesense cluster.

I20210726 14:26:01.174878 1 http_server.cpp:172] Typesense has started listening on port 8108

I20210726 14:26:01.191908 256 server.cpp:1045] Server[braft::RaftStatImpl+braft::FileServiceImpl+braft::RaftServiceImpl+braft::CliServiceImpl] is serving on port=8107.

I20210726 14:26:01.191936 256 server.cpp:1048] Check out  in web browser

I tried this one <http://5df18691f6a5:8107>
Thanks for help :)
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
09:06 AM
gab 👋 Can you please elaborate what you mean by the server page? You mean the API?
09:08
Kishore Nallan
09:08 AM
The message about
Check out  in web browser

is the Raft diagnostic page. It's used for troubleshooting the clustering. It does not have any information about Typesense collections or data etc.
gab
Photo of md5-8be2a24edf7a95c9c74abce4b1130c3e
gab
09:09 AM
Yep wasn't clear. I mean, does the server expose any administration pages ?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
09:09 AM
No, there are no admin pages.
gab
Photo of md5-8be2a24edf7a95c9c74abce4b1130c3e
gab
09:18 AM
Ok I see, assuming I have started the image to expose on 8108it will expose all api's there <http://localhost:8108> ?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
09:18 AM
Correct
gab
Photo of md5-8be2a24edf7a95c9c74abce4b1130c3e
gab
09:26 AM
Thanks