Skip to content
Snippets Groups Projects
Commit 8c760230 authored by Yannis Barlas's avatar Yannis Barlas
Browse files

Merge branch 'client-port' into 'main'

build(client): make sure client sees client port env var

See merge request kotahi/kotahi!160
parents 7f1587b2 c6a10ee5
No related branches found
No related tags found
No related merge requests found
...@@ -14,10 +14,11 @@ services: ...@@ -14,10 +14,11 @@ services:
'./webpack/webpack.development.config.js', './webpack/webpack.development.config.js',
] ]
ports: ports:
- ${CLIENT_PORT:-4000}:8080 - ${CLIENT_PORT:-4000}:${CLIENT_PORT:-4000}
environment: environment:
- NODE_ENV=development - NODE_ENV=development
- CLIENT_HOST=0.0.0.0 - CLIENT_HOST=0.0.0.0
- CLIENT_PORT=${CLIENT_PORT:-4000}
- SERVER_PROTOCOL=http - SERVER_PROTOCOL=http
- SERVER_HOST=server - SERVER_HOST=server
- SERVER_PORT=3000 - SERVER_PORT=3000
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment