forked from TheSmallHanCat/flow2api
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.headed.example
More file actions
42 lines (35 loc) · 1.39 KB
/
Copy path.env.headed.example
File metadata and controls
42 lines (35 loc) · 1.39 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
# Copy to .env for automatic Compose interpolation, or pass explicitly:
# cp .env.headed.example .env
# docker compose --env-file .env.headed.example -f docker-compose.headed.yml up --build -d
# API on host (container app port comes from config/setting.toml, usually 8000)
FRONTEND_PORT=8000
# VNC: host port -> container x11vnc port
VNC_HOST_PORT=5900
VNC_PORT=5900
ENABLE_HEADED_VNC=true
# Leave empty for passwordless VNC (dev only). Set for production.
VNC_PASSWORD=
# noVNC: browser URL -> x11vnc
NOVNC_HOST_PORT=6080
NOVNC_PORT=6080
ENABLE_HEADED_NOVNC=true
# Optional full external URL for the admin "Open Fluxbox" button, e.g. Cloudflare Access hostname.
VITE_NOVNC_URL=
# Virtual framebuffer size (WxHxDepth)
XVFB_SCREEN=1920x1080x24
# Shared memory for Chromium (e.g. 1gb, 2gb)
SHM_SIZE=2gb
# Optional DigitalOcean Spaces cache provider.
FLOW2API_DO_SPACES_ACCESS_KEY_ID=
FLOW2API_DO_SPACES_SECRET_ACCESS_KEY=
FLOW2API_DO_SPACES_REGION=
FLOW2API_DO_SPACES_BUCKET=
FLOW2API_DO_SPACES_PREFIX=flow2api/cache
FLOW2API_DO_SPACES_CDN_BASE_URL=
# Required only for Public CDN mode purge support.
FLOW2API_DO_API_TOKEN=
FLOW2API_DO_CDN_ENDPOINT_ID=
# Optional private Google Drive database + browser-profile backups.
FLOW2API_GOOGLE_DRIVE_CLIENT_ID=
FLOW2API_GOOGLE_DRIVE_CLIENT_SECRET=
FLOW2API_GOOGLE_DRIVE_REDIRECT_URI=https://admin-flow.prismacreative.online/api/admin/backups/google-drive/oauth/callback