File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 4
4
# This file is a template for docker compose deployment
5
5
# Copy this file to .env and change the values as needed
6
6
7
-
8
7
# Fully qualified domain name for the deployment. Replace localhost with your domain,
9
8
# such as mydomain.com.
10
9
FQDN = localhost
11
10
12
- # Change this to https if you wish to enable TLS.
11
+ # Change this to https if you are using TLS.
13
12
SCHEME = http
13
+ # Change this to wss if you are using TLS
14
+ WS_SCHEME = ws
14
15
15
16
APPFLOWY_BASE_URL = ${ SCHEME } ://${ FQDN }
17
+ APPFLOWY_WEBSOCKET_BASE_URL = ${ WS_SCHEME } ://${ FQDN } /ws/v2
16
18
17
19
# =============================================================================
18
20
# 🗄️ DATABASE & CACHE: Core data infrastructure
@@ -345,4 +347,5 @@ CLOUDFLARE_TUNNEL_TOKEN=
345
347
346
348
# Enable AI tests in production environment (usually false)
347
349
# Set to true only if you want to run AI-related tests in production
348
- AI_TEST_ENABLED = false
350
+ AI_TEST_ENABLED = false
351
+
Original file line number Diff line number Diff line change @@ -215,6 +215,10 @@ services:
215
215
image : appflowyinc/appflowy_web:${APPFLOWY_WEB_VERSION:-latest}
216
216
depends_on :
217
217
- appflowy_cloud
218
+ environment :
219
+ - AF_BASE_URL=${APPFLOWY_BASE_URL}
220
+ - AF_GOTRUE_URL=${APPFLOWY_BASE_URL}/gotrue
221
+ - AF_WS_V2_URL=${APPFLOWY_WEBSOCKET_BASE_URL}
218
222
volumes :
219
223
postgres_data :
220
224
minio_data :
You can’t perform that action at this time.
0 commit comments