forked from superplanehq/superplane
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.multi-instance.example
More file actions
37 lines (35 loc) · 1015 Bytes
/
.env.multi-instance.example
File metadata and controls
37 lines (35 loc) · 1015 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
## Example ports for running two local instances
##
## Usage:
## 1) In each repo, copy this file to `.env`.
## 2) Use the "Instance A" values in the first repo,
## and "Instance B" values in the second repo.
##
## Docker Compose automatically reads `.env` in the repo root.
## Adjust as needed for your environment.
## ===== Instance A (default-ish) =====
# PUBLIC_API_PORT=8000
# INTERNAL_API_PORT=50051
# VITE_DEV_PORT=5173
# VITE_PREVIEW_PORT=4173
# STORYBOOK_PORT=6006
# OTEL_GRPC_PORT=4317
# OTEL_HTTP_PORT=4318
# PGWEB_PORT=8081
# RABBITMQ_PORT=5672
# RABBITMQ_MANAGEMENT_PORT=15672
# BASE_URL=http://localhost:8000
# WEBHOOKS_BASE_URL=http://localhost:8000
## ===== Instance B (alternate) =====
# PUBLIC_API_PORT=8001
# INTERNAL_API_PORT=50052
# VITE_DEV_PORT=5174
# VITE_PREVIEW_PORT=4174
# STORYBOOK_PORT=6007
# OTEL_GRPC_PORT=4319
# OTEL_HTTP_PORT=4320
# PGWEB_PORT=8082
# RABBITMQ_PORT=5673
# RABBITMQ_MANAGEMENT_PORT=15673
# BASE_URL=http://localhost:8001
# WEBHOOKS_BASE_URL=http://localhost:8001