-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
116 lines (106 loc) · 3.06 KB
/
Copy path.env.example
File metadata and controls
116 lines (106 loc) · 3.06 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
DB_USER=typst
DB_PASSWORD=typst_password
DB_NAME=typst_editor
DB_HOST=db
DB_PORT=5432
DB_PUBLISH_PORT=5432
WEB_PUBLISH_PORT=3000
API_PUBLISH_PORT=8000
PREVIEW_PUBLISH_PORT=8002
REALTIME_PUBLISH_PORT=8003
COMPILER_PUBLISH_PORT=8001
API_HOST=api
API_PORT=8000
PREVIEW_HOST=preview
PREVIEW_PORT=8002
REALTIME_HOST=realtime
REALTIME_PORT=8003
COMPILER_HOST=compiler
COMPILER_PORT=8001
# Optional fixed container IPs for single-host multi-machine simulation.
SERVICE_IP_SUBNET=172.30.0.0/24
API_NETWORK_IP=172.30.0.10
COMPILER_NETWORK_IP=172.30.0.11
PREVIEW_NETWORK_IP=172.30.0.12
REALTIME_NETWORK_IP=172.30.0.13
DB_NETWORK_IP=172.30.0.15
WEB_NETWORK_IP=172.30.0.20
# Browser-facing addresses. Leave URL empty to build from scheme/host/port.
VITE_API_URL=
VITE_API_SCHEME=http
VITE_API_HOST=
VITE_API_PORT=8000
VITE_PREVIEW_URL=
VITE_PREVIEW_SCHEME=http
VITE_PREVIEW_HOST=
VITE_PREVIEW_PORT=8002
VITE_REALTIME_URL=
VITE_REALTIME_SCHEME=ws
VITE_REALTIME_HOST=
VITE_REALTIME_PORT=8003
# Vite dev proxy targets. Useful when browser should only access WEB_PUBLISH_PORT.
API_PROXY_TARGET=
API_PROXY_SCHEME=http
API_PROXY_HOST=api
API_PROXY_PORT=8000
PREVIEW_PROXY_TARGET=
PREVIEW_PROXY_TARGETS=
PREVIEW_PROXY_SCHEME=http
PREVIEW_PROXY_HOST=preview
PREVIEW_PROXY_PORT=8002
REALTIME_PROXY_TARGET=
REALTIME_PROXY_TARGETS=
REALTIME_PROXY_SCHEME=ws
REALTIME_PROXY_HOST=realtime
REALTIME_PROXY_PORT=8003
# Service-to-service addresses. Full URL wins; otherwise scheme/host/port are used.
COMPILER_URL=
COMPILER_SCHEME=http
COMPILER_TIMEOUT_SECONDS=10
PREVIEW_URL=
PREVIEW_URLS=
PREVIEW_BROWSER_URL=
PREVIEW_BROWSER_URLS=
PREVIEW_SCHEME=http
PREVIEW_INTERNAL_URL=
PREVIEW_INTERNAL_URLS=
PREVIEW_INTERNAL_SCHEME=http
PREVIEW_INTERNAL_HOST=preview
PREVIEW_INTERNAL_PORT=8002
REALTIME_URL=
REALTIME_URLS=
REALTIME_BROWSER_URL=
REALTIME_BROWSER_URLS=
REALTIME_SCHEME=ws
REALTIME_INTERNAL_URL=
REALTIME_INTERNAL_URLS=
REALTIME_INTERNAL_SCHEME=http
REALTIME_INTERNAL_HOST=realtime
REALTIME_INTERNAL_PORT=8003
API_INTERNAL_URL=
API_INTERNAL_SCHEME=http
API_INTERNAL_HOST=api
API_INTERNAL_PORT=8000
# Preview sharding example. Keep browser/internal lists in the same order.
# PREVIEW_BROWSER_URLS=http://172.30.0.12:8002,http://172.30.0.16:8002
# PREVIEW_INTERNAL_URLS=http://172.30.0.12:8002,http://172.30.0.16:8002
TYPST_VERSION=0.14.2
TINYMIST_VERSION=0.14.8
CORS_ALLOW_ORIGINS=*
REALTIME_SECRET=change-this-realtime-secret
PREVIEW_SECRET=change-this-preview-secret
# Local API cache only. Project content and PDF artifacts are stored in DB.
WORKSPACE_DIR=/workspace/projects
# Docker/build mirror mode: auto | cn | global
DOCKER_SOURCE_MODE=auto
# Optional overrides for compose-smart.sh
# POSTGRES_IMAGE=postgres:16
# NODE_BASE_IMAGE=node:22-alpine
# PYTHON311_BASE_IMAGE=python:3.11-slim
# PYTHON312_BASE_IMAGE=python:3.12-slim
# NPM_REGISTRY=
# PIP_INDEX_URL=
# PIP_TRUSTED_HOST=
# APT_MIRROR=
# TYPST_DOWNLOAD_URL=https://github.com/typst/typst/releases/download/v0.14.2/typst-x86_64-unknown-linux-musl.tar.xz
# TINYMIST_DOWNLOAD_URL=https://github.com/Myriad-Dreamin/tinymist/releases/download/v0.14.8/tinymist-x86_64-unknown-linux-musl.tar.gz