-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with 'make start' on Ubuntu 23.04 with NGINX Proxy Manage as Terminator #3478
Comments
Sorry if the Issue setup is kind've jank, I am used to writing emails not creating issues on GitHub haha |
Hi, @electr0nnn. I have been working on your issue, and I think I have reached a solution. In #3495, we have defined an env variable dedicated to the gateway's bind address. This way, you could set what network interface you would like to bind, avoiding this port's error. |
To check by yourself, you could apply this diff. It should allow you to start the ShellHub without problem. diff --git a/docker-compose.yml b/docker-compose.yml
index 082d77bb..cbd2d5f9 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -89,7 +89,7 @@ services:
- api
- ui
ports:
- - ${SHELLHUB_HTTP_PORT}:80
+ - 127.0.0.1:${SHELLHUB_HTTP_PORT}:80
networks:
- shellhub
cli: |
Now I am getting validating /root/git/shellhub/docker-compose.override.yml: services.gateway.ports array items[0,1] must be unique I have this as my .env.override & docker-compose.override.yml docker-compose.override.yml When I change :80 to :8042 it sort of works but says the port is already allocated which is false because I haven't even used it yet, same if I make it different from SHELLHUB_HTTP_PORT. .env.override |
0.0.0.0:8042 Failed to bind, gateway-1 failed to start
I've followed all the docs, and created/used both docker-compose.override.yml & .env.override\
Here are those files...
Make Start displays the following
I tried this without SHELLHUB_HTTP_PORT, and it essentially did the same thing, is there something I am missing to where shellhub-gateway-1 isn't able to start? I do not have anything bound to 8042 except for this specific container, etc.
I also removed and started from scratch literally everything before attempting again with 8042 instead of 80
I did input the NGINX Proxy Configs into my NGINX Proxy Manager container im running that is in charge of all my other stuff.
Do I have to modify NGINX.conf in shellhub/gateway/ ?
Edition
Community
Version
v0.14.1
The text was updated successfully, but these errors were encountered: