diff --git a/docker-compose.override.example.yml b/docker-compose.override.example.yml index edb5424fdeca..d55e1f05c265 100644 --- a/docker-compose.override.example.yml +++ b/docker-compose.override.example.yml @@ -5,6 +5,7 @@ services: backend: environment: OPENPROJECT_CLI_PROXY: "http://localhost:${FE_PORT:-4200}" + OPENPROJECT_HOST__NAME: "${HOST:-localhost}:${PORT:-3000}" ports: - "${PORT:-3000}:3000" diff --git a/docker-compose.yml b/docker-compose.yml index ff9fcc78de41..5c3e420c8555 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,7 +38,6 @@ x-op-backend: &backend environment: LOCAL_DEV_CHECK: "${LOCAL_DEV_CHECK:?The docker-compose file for OpenProject has moved to https://github.com/opf/openproject-deploy}" RAILS_ENV: development - OPENPROJECT_HOST__NAME: "${HOST:-localhost}:${PORT:-3000}" OPENPROJECT_CACHE__MEMCACHE__SERVER: cache:11211 OPENPROJECT_RAILS__CACHE__STORE: file_store OPENPROJECT_RAILS__RELATIVE__URL__ROOT: "${OPENPROJECT_RAILS__RELATIVE__URL__ROOT:-}" @@ -67,8 +66,6 @@ services: depends_on: - db - cache - ports: - - "${PORT:-3000}:3000" worker: <<: *backend @@ -90,8 +87,6 @@ services: - network depends_on: - backend - ports: - - "${FE_PORT:-4200}:4200" db: image: postgres:13