mirror of
https://github.com/opf/openproject-deploy.git
synced 2026-02-14 16:59:51 +00:00
Set default listen port to ::1:8080
This commit is contained in:
@@ -22,7 +22,8 @@ After a while, OpenProject should be up and running on <http://localhost:8080>.
|
||||
|
||||
## Configuration
|
||||
|
||||
If you want to specify a different port, you can do so with:
|
||||
By default, the application will be bound to localhost:8080 on the docker host only. If you need to publicly expose the port
|
||||
or change the port to something else entirely, you can do so with:
|
||||
|
||||
PORT=4000 docker-compose up -d
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ services:
|
||||
<<: *restart_policy
|
||||
command: "./docker/prod/proxy"
|
||||
ports:
|
||||
- "${PORT:-8080}:80"
|
||||
- "${PORT:-::1:8080}:80"
|
||||
environment:
|
||||
APP_HOST: web
|
||||
OPENPROJECT_RAILS__RELATIVE__URL__ROOT: "${OPENPROJECT_RAILS__RELATIVE__URL__ROOT:-}"
|
||||
|
||||
Reference in New Issue
Block a user