Change Hub port from 3000 to 3847
- Add HUB_PORT variable to .env.example - Update docker-compose.yml to use configurable port - Update nginx config to proxy to port 3847 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
71ddeacac2
commit
49e5f4c43f
|
|
@ -28,6 +28,9 @@ SETTINGS_ENCRYPTION_KEY=CHANGE_ME_GENERATE_WITH_OPENSSL_RAND_HEX_32
|
||||||
POSTGRES_USER=letsbe_hub
|
POSTGRES_USER=letsbe_hub
|
||||||
POSTGRES_DB=letsbe_hub
|
POSTGRES_DB=letsbe_hub
|
||||||
|
|
||||||
|
# Hub port (change if 3000 is occupied)
|
||||||
|
HUB_PORT=3847
|
||||||
|
|
||||||
# Hub image tag (default: master)
|
# Hub image tag (default: master)
|
||||||
HUB_IMAGE_TAG=master
|
HUB_IMAGE_TAG=master
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ services:
|
||||||
container_name: letsbe-hub-app
|
container_name: letsbe-hub-app
|
||||||
env_file: .env
|
env_file: .env
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3000:3000"
|
- "127.0.0.1:${HUB_PORT:-3847}:3000"
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgresql://${POSTGRES_USER:-letsbe_hub}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB:-letsbe_hub}
|
DATABASE_URL: postgresql://${POSTGRES_USER:-letsbe_hub}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB:-letsbe_hub}
|
||||||
NEXTAUTH_URL: ${HUB_URL}
|
NEXTAUTH_URL: ${HUB_URL}
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ server {
|
||||||
|
|
||||||
# Proxy to Hub container
|
# Proxy to Hub container
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:3000;
|
proxy_pass http://127.0.0.1:3847;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
# Headers
|
# Headers
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue