File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ services:
137
137
- AI_SERVER_PORT=${AI_SERVER_PORT}
138
138
- AI_OPENAI_API_KEY=${AI_OPENAI_API_KEY}
139
139
- APPFLOWY_WEB_URL=${APPFLOWY_WEB_URL}
140
+ - APPFLOWY_BASE_URL=${APPFLOWY_BASE_URL}
140
141
image : appflowyinc/appflowy_cloud:${APPFLOWY_CLOUD_VERSION:-latest}
141
142
depends_on :
142
143
gotrue :
@@ -146,11 +147,9 @@ services:
146
147
restart : on-failure
147
148
image : appflowyinc/admin_frontend:${APPFLOWY_ADMIN_FRONTEND_VERSION:-latest}
148
149
environment :
149
- - RUST_LOG=${RUST_LOG:-info}
150
- - ADMIN_FRONTEND_REDIS_URL=${ADMIN_FRONTEND_REDIS_URL:-redis://redis:6379}
151
- - ADMIN_FRONTEND_GOTRUE_URL=${ADMIN_FRONTEND_GOTRUE_URL:-http://gotrue:9999}
152
- - ADMIN_FRONTEND_APPFLOWY_CLOUD_URL=${ADMIN_FRONTEND_APPFLOWY_CLOUD_URL:-http://appflowy_cloud:8000}
153
- - ADMIN_FRONTEND_PATH_PREFIX=${ADMIN_FRONTEND_PATH_PREFIX:-}
150
+ - APPFLOWY_GOTRUE_BASE_URL=${APPFLOWY_BASE_URL}/gotrue
151
+ - APPFLOWY_BASE_URL=${APPFLOWY_BASE_URL}
152
+
154
153
depends_on :
155
154
gotrue :
156
155
condition : service_healthy
Original file line number Diff line number Diff line change @@ -193,6 +193,19 @@ http {
193
193
194
194
proxy_set_header X-Scheme $scheme ;
195
195
proxy_set_header Host $host ;
196
+ proxy_set_header X-Real-IP $remote_addr ;
197
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for ;
198
+ proxy_set_header X-Forwarded-Proto $scheme ;
199
+
200
+ proxy_http_version 1.1;
201
+ proxy_set_header Connection "" ;
202
+
203
+ proxy_buffering off;
204
+ proxy_cache off;
205
+
206
+ proxy_read_timeout 60s ;
207
+ proxy_connect_timeout 60s ;
208
+ proxy_send_timeout 60s ;
196
209
}
197
210
198
211
# AppFlowy Web
You can’t perform that action at this time.
0 commit comments