-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (50 loc) · 3.59 KB
/
Copy path.env.example
File metadata and controls
59 lines (50 loc) · 3.59 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
# =============================================================================
# Forail Platform — Environment Configuration
# =============================================================================
# Copy this file to .env and fill in the required values:
# cp .env.example .env
#
# Variables marked REQUIRED have no usable default and must be set.
# Generate secrets with: openssl rand -hex 32
# =============================================================================
# ── REQUIRED: Secrets ────────────────────────────────────────────────────────
POSTGRES_PASSWORD=changeme
FORAIL_SECRET_KEY=changeme_generate_random_50_chars
FORAIL_BROADCAST_WEBSOCKET_SECRET=changeme_generate_random_50_chars
FORAIL_ADMIN_PASSWORD=changeme
FORAIL_CSRF_TRUSTED_ORIGINS=https://forail.example.com
# ── Database ─────────────────────────────────────────────────────────────────
POSTGRES_USER=forail
POSTGRES_DB=forail
# ── Admin account ────────────────────────────────────────────────────────────
FORAIL_ADMIN_USER=admin
FORAIL_ADMIN_EMAIL=admin@example.com
# ── Application ──────────────────────────────────────────────────────────────
# List every hostname the stack is served under. Never "*" outside a throwaway
# lab — it disables Django's Host-header check.
FORAIL_ALLOWED_HOSTS=localhost,127.0.0.1
FORAIL_NODE_NAME=forail-node
FORAIL_NODE_TYPE=hybrid
# ── Job execution ────────────────────────────────────────────────────────────
# forail-task runs jobs via podman-in-container, which needs a privileged
# container and the host cgroup namespace. Both default OFF: that combination is
# a trivial container escape, so enable it only on a host you trust to run
# automation, and keep the stack off the public internet.
#FORAIL_TASK_PRIVILEGED=true
#FORAIL_TASK_CGROUP=host
# ── Docker images ────────────────────────────────────────────────────────────
# Pin to a release tag in production (e.g., 2026.04.0), not latest.
FORAIL_BACKEND_IMAGE=ghcr.io/forail-platform/forail-backend
FORAIL_FRONTEND_IMAGE=ghcr.io/forail-platform/forail-frontend
FORAIL_TAG=2026.07.0
# ── Nginx / Networking ──────────────────────────────────────────────────────
#NGINX_HTTP_PORT=80
#NGINX_HTTPS_PORT=443
# ── OpenTelemetry ────────────────────────────────────────────────────────────
#OTEL_ENABLED=true
#OTEL_EXPORTER_ENDPOINT=http://forail-otel-collector:4317
#OTEL_SERVICE_NAME=forail
#OTEL_TRACES_SAMPLER=parentbased_traceidratio
#OTEL_TRACES_SAMPLER_ARG=0.1
# ── Multi-tenancy ───────────────────────────────────────────────────────────
#TENANCY_ENABLED=false