mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
expose ports for docker compose in override file only
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user