-
Notifications
You must be signed in to change notification settings - Fork 178
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
docker compose - cant change port and not running on 0.0.0.0 #104
Comments
I've been experiencing something similar as well. Trying to set up open project via docker compose according to the quick start linked above. We have this running in a headless linux server, so navigating to localhost isn't exactly something we can do. I have been unable to access Open Project from outside of the server, tried on our LAN with IP and a local domain name. I have also attempted to use our Caddy reverse proxy with Let's Encrypt, and the built-in proxy disabled. Every time we get a response status 400: invalid host_name configuration. @vultux I did some digging in the end configs for docker containers, the
-- All below configs are pulled from a clean environment following only the steps in the quick start .env has been changed to disable bind mounts (I prefer named volumes) and set output of Not really sure where to go with this, but I'm going to keep poking around, see what I can make of it. |
Update: Commenting out L17 of docker-compose.yml has made open project available via ip (192.168.1.75:8080), but gives an SSL error when access via hostname (project..org:8080) which is a locally resolved name that points to 192.168.1.75. Changing the value of It is worth noting, however, that setting the environment variables directly in In poking around though, I did find this which indicates that host_name validation is done via the |
Hi Salmonllama I gave up and just installed it straight into a VM, using NGINX Reverse Proxy to handle SSL. Thanks. |
Hi
I follow the guide from this page: Quick Start to configure docker compose.
I only disabled the proxy (because I use nginx reverse proxy and disable cron too), I changed the port in .env as indicated on the page, but it doesn't matter, the container always opens on localhost:8080
Any tips?
.env
TAG=15-slim OPENPROJECT_HTTPS=false OPENPROJECT_HOST__NAME=0.0.0.0 PORT=8084 OPENPROJECT_RAILS__RELATIVE__URL__ROOT= IMAP_ENABLED=false DATABASE_URL=postgres://postgres:Senha@2025@db/openproject?pool=20&encoding=unicode&reconnect=true RAILS_MIN_THREADS=4 RAILS_MAX_THREADS=16 PGDATA="./pgdata" OPDATA="./assets"
The text was updated successfully, but these errors were encountered: