@@ -44,7 +44,6 @@ services:
44
44
environment :
45
45
NODE_ENV : ${NODE_ENV}
46
46
API_ROOT_URL : ${API_ROOT_URL}
47
- DISABLE_USER_REGISTRATION : ${DISABLE_USER_REGISTRATION}
48
47
PORT : ${API_PORT}
49
48
FRONT_BASE_URL : ${FRONT_BASE_URL}
50
49
MONGO_URL : ${MONGO_URL}
@@ -71,6 +70,10 @@ services:
71
70
NEW_RELIC_LICENSE_KEY : ${NEW_RELIC_LICENSE_KEY}
72
71
API_CONTEXT_PATH : ${API_CONTEXT_PATH}
73
72
MONGO_AUTO_CREATE_INDEXES : ${MONGO_AUTO_CREATE_INDEXES}
73
+ IS_API_IDEMPOTENCY_ENABLED : ${IS_API_IDEMPOTENCY_ENABLED}
74
+ IS_API_RATE_LIMITING_ENABLED : ${IS_API_RATE_LIMITING_ENABLED}
75
+ IS_NEW_MESSAGES_API_RESPONSE_ENABLED : ${IS_NEW_MESSAGES_API_RESPONSE_ENABLED}
76
+ IS_V2_ENABLED : ${IS_V2_ENABLED}
74
77
ports :
75
78
- ${API_PORT}:${API_PORT}
76
79
@@ -109,6 +112,9 @@ services:
109
112
NEW_RELIC_LICENSE_KEY : ${NEW_RELIC_LICENSE_KEY}
110
113
BROADCAST_QUEUE_CHUNK_SIZE : ${BROADCAST_QUEUE_CHUNK_SIZE}
111
114
MULTICAST_QUEUE_CHUNK_SIZE : ${MULTICAST_QUEUE_CHUNK_SIZE}
115
+ API_ROOT_URL : http://api:${API_PORT}
116
+ IS_EMAIL_INLINE_CSS_DISABLED : ${IS_EMAIL_INLINE_CSS_DISABLED}
117
+ IS_USE_MERGED_DIGEST_ID_ENABLED : ${IS_USE_MERGED_DIGEST_ID_ENABLED}
112
118
113
119
ws :
114
120
image : ' ghcr.io/novuhq/novu/ws:2.1.1'
@@ -138,27 +144,27 @@ services:
138
144
ports :
139
145
- ${WS_PORT}:${WS_PORT}
140
146
141
- web :
142
- image : ' ghcr.io/novuhq/novu/web :2.1.1'
147
+ dashboard :
148
+ image : ' ghcr.io/novuhq/novu/dashboard :2.1.1'
143
149
depends_on :
144
150
- api
145
151
- worker
146
- container_name : web
152
+ container_name : dashboard
147
153
restart : unless-stopped
148
154
logging :
149
155
driver : ' json-file'
150
156
options :
151
157
max-size : ' 50m'
152
158
max-file : ' 5'
153
159
environment :
154
- REACT_APP_API_URL : ${API_ROOT_URL}
155
- REACT_APP_ENVIRONMENT : ${NODE_ENV}
156
- REACT_APP_WIDGET_EMBED_PATH : ${WIDGET_EMBED_PATH}
157
- REACT_APP_IS_SELF_HOSTED : ' true'
158
- REACT_APP_WS_URL : ${REACT_APP_WS_URL}
160
+ VITE_API_HOSTNAME : ${VITE_API_HOSTNAME}
161
+ VITE_SELF_HOSTED : true
162
+ VITE_WEBSOCKET_HOSTNAME : ${VITE_WEBSOCKET_HOSTNAME}
163
+ IS_CONTROLS_AUTOCOMPLETE_ENABLED : ${IS_CONTROLS_AUTOCOMPLETE_ENABLED}
164
+ IS_WORKFLOW_NODE_PREVIEW_ENABLED : ${IS_WORKFLOW_NODE_PREVIEW_ENABLED}
165
+ IS_ENHANCED_DIGEST_ENABLED : ${IS_ENHANCED_DIGEST_ENABLED}
159
166
ports :
160
- - 4200:4200
161
- command : ['/bin/sh', '-c', 'pnpm run envsetup:docker && pnpm run start:static:build']
167
+ - 4000:4000
162
168
163
169
volumes :
164
170
mongodb : ~
0 commit comments