-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
51 lines (40 loc) · 2.58 KB
/
Copy path.env.example
File metadata and controls
51 lines (40 loc) · 2.58 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
# ============================================================================
# Optional configuration for blue-green-run.sh.
# Copy to deploy/.env — the script sources it automatically. Every value has
# a sensible default; a plain local install needs none of this.
# ============================================================================
# ── Image source ────────────────────────────────────────────────────────────
# Docker Hub repo images are pulled from (tags: backend, frontend). If the repo
# isn't published yet, the script builds from local source automatically.
# ── App ─────────────────────────────────────────────────────────────────────
# Root login created on fresh install.
ROOT_EMAIL=admin@example.com
ROOT_USERNAME=admin123
ROOT_PASSWORD=admin123
# Public URL the app is reachable at (CORS / auth redirects).
#APP_PUBLIC_URL=http://localhost:8080
# Marketplace backend.
#MARKETPLACE_URL=https://marketplace.leastactionlabs.com
# Bring-your-own JWT keypair; if unset, a keypair is generated on first run
# and persisted in the leastaction_keys volume.
PUBLIC_KEY=
PRIVATE_KEY=
# ── Deploy knobs ────────────────────────────────────────────────────────────
# Host port the app is served on.
#LEASTACTION_HTTP_PORT=8080
# Seconds to let the old slot's celery workers finish in-flight tasks before
# they are killed (killed tasks are lost — raise this if you run long tasks;
# the task hard time limit is 6600s).
#LEASTACTION_DRAIN_TIMEOUT=600
# What to do when LEASTACTION_DRAIN_TIMEOUT expires and old workers are still busy:
# 1 (default) — hard kill them; their in-flight tasks are lost
# 0 — never kill; keep waiting and warn every 60s
LEASTACTION_DRAIN_HARD_KILL=1
# Seconds to wait for the new backend to become healthy before rolling back.
LEASTACTION_HEALTH_TIMEOUT=300
# Set to 1 to also start flower (celery monitoring UI) after each deploy.
LEASTACTION_ENABLE_FLOWER=0
FLOWER_PORT=5555
# ── Build mode (--build) only ───────────────────────────────────────────────
# Frontend build arg; only used when building images from source.
#VITE_MARKETPLACE_BACKEND_URL=http://localhost:8001