Added API env var
This commit is contained in:
@@ -32,7 +32,7 @@ x-mq-env: &mq-env
|
||||
RABBITMQ_VHOST: plane
|
||||
|
||||
x-live-env: &live-env
|
||||
API_BASE_URL: http://api:8000
|
||||
API_BASE_URL: http://plane-api:8000
|
||||
LIVE_SERVER_SECRET_KEY: ${LIVE_SERVER_SECRET_KEY:-2FiJk1U2aiVPEQtzLehYGlTSnTnrs7LW}
|
||||
|
||||
x-app-env: &app-env
|
||||
@@ -60,6 +60,12 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8082:3000"
|
||||
environment:
|
||||
- NEXT_PUBLIC_API_BASE_URL=https://plane.rishighan.com
|
||||
- NEXT_PUBLIC_WEB_BASE_URL=https://plane.rishighan.com
|
||||
- NEXT_PUBLIC_SPACE_BASE_URL=https://plane.rishighan.com/spaces
|
||||
- NEXT_PUBLIC_ADMIN_BASE_URL=https://plane.rishighan.com/god-mode
|
||||
- NEXT_PUBLIC_LIVE_BASE_URL=https://plane.rishighan.com/live
|
||||
depends_on:
|
||||
- api
|
||||
- worker
|
||||
@@ -72,6 +78,13 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8084:3000"
|
||||
environment:
|
||||
- NEXT_PUBLIC_API_BASE_URL=https://plane.rishighan.com
|
||||
- NEXT_PUBLIC_WEB_BASE_URL=https://plane.rishighan.com
|
||||
- NEXT_PUBLIC_SPACE_BASE_URL=https://plane.rishighan.com/spaces
|
||||
- NEXT_PUBLIC_SPACE_BASE_PATH=/spaces
|
||||
- NEXT_PUBLIC_ADMIN_BASE_URL=https://plane.rishighan.com/god-mode
|
||||
- NEXT_PUBLIC_LIVE_BASE_URL=https://plane.rishighan.com/live
|
||||
depends_on:
|
||||
- api
|
||||
- worker
|
||||
@@ -85,6 +98,13 @@ services:
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8087:3000"
|
||||
environment:
|
||||
- NEXT_PUBLIC_API_BASE_URL=https://plane.rishighan.com
|
||||
- NEXT_PUBLIC_WEB_BASE_URL=https://plane.rishighan.com
|
||||
- NEXT_PUBLIC_SPACE_BASE_URL=https://plane.rishighan.com/spaces
|
||||
- NEXT_PUBLIC_ADMIN_BASE_URL=https://plane.rishighan.com/god-mode
|
||||
- NEXT_PUBLIC_ADMIN_BASE_PATH=/god-mode
|
||||
- NEXT_PUBLIC_LIVE_BASE_URL=https://plane.rishighan.com/live
|
||||
depends_on:
|
||||
- api
|
||||
- web
|
||||
@@ -99,6 +119,10 @@ services:
|
||||
- "8086:3000"
|
||||
environment:
|
||||
<<: [*live-env, *redis-env]
|
||||
NEXT_PUBLIC_API_BASE_URL: https://plane.rishighan.com
|
||||
NEXT_PUBLIC_WEB_BASE_URL: https://plane.rishighan.com
|
||||
NEXT_PUBLIC_LIVE_BASE_URL: https://plane.rishighan.com/live
|
||||
NEXT_PUBLIC_LIVE_BASE_PATH: /live
|
||||
depends_on:
|
||||
- api
|
||||
- web
|
||||
|
||||
Reference in New Issue
Block a user