Skip to content

Unable to access API after deploying gorse with docker-compose #759

Answered by zhenghaoz
HatsuneMK00 asked this question in Q&A
Discussion options

You must be logged in to vote

Since you have changed ports in the config file:

[master]
+ port = 18086
host = "0.0.0.0"
+ http_port = 18088
http_host = "0.0.0.0"

You should map the same ports in docker-compose.yaml

  gorse:
    image: zhenghaoz/gorse-in-one
    restart: unless-stopped
    ports:
+      - 18086:18086  # gRPC port
+      - 18088:18088  # HTTP port

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@HatsuneMK00
Comment options

Answer selected by HatsuneMK00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #758 on August 17, 2023 13:19.