-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy path.env.multi-instance.example
More file actions
79 lines (74 loc) · 1.99 KB
/
.env.multi-instance.example
File metadata and controls
79 lines (74 loc) · 1.99 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
## Example ports for running up to five local instances
##
## Usage:
## 1) In each repo, copy this file to `.env`.
## 2) Use the "Instance A" values in the first repo, "Instance B" in the second,
## and so on through "Instance E" for the fifth.
##
## Docker Compose automatically reads `.env` in the repo root.
## Adjust as needed for your environment.
## ===== Instance A (default) =====
# 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 =====
# 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
## ===== Instance C =====
# PUBLIC_API_PORT=8002
# INTERNAL_API_PORT=50053
# VITE_DEV_PORT=5175
# VITE_PREVIEW_PORT=4175
# STORYBOOK_PORT=6008
# OTEL_GRPC_PORT=4321
# OTEL_HTTP_PORT=4322
# PGWEB_PORT=8083
# RABBITMQ_PORT=5674
# RABBITMQ_MANAGEMENT_PORT=15674
# BASE_URL=http://localhost:8002
# WEBHOOKS_BASE_URL=http://localhost:8002
## ===== Instance D =====
# PUBLIC_API_PORT=8003
# INTERNAL_API_PORT=50054
# VITE_DEV_PORT=5176
# VITE_PREVIEW_PORT=4176
# STORYBOOK_PORT=6009
# OTEL_GRPC_PORT=4323
# OTEL_HTTP_PORT=4324
# PGWEB_PORT=8084
# RABBITMQ_PORT=5675
# RABBITMQ_MANAGEMENT_PORT=15675
# BASE_URL=http://localhost:8003
# WEBHOOKS_BASE_URL=http://localhost:8003
## ===== Instance E =====
# PUBLIC_API_PORT=8004
# INTERNAL_API_PORT=50055
# VITE_DEV_PORT=5177
# VITE_PREVIEW_PORT=4177
# STORYBOOK_PORT=6010
# OTEL_GRPC_PORT=4325
# OTEL_HTTP_PORT=4326
# PGWEB_PORT=8085
# RABBITMQ_PORT=5676
# RABBITMQ_MANAGEMENT_PORT=15676
# BASE_URL=http://localhost:8004
# WEBHOOKS_BASE_URL=http://localhost:8004