-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
49 lines (38 loc) · 1.45 KB
/
Copy path.env.example
File metadata and controls
49 lines (38 loc) · 1.45 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
# Action Packer environment variables
#
# Copy this file to `.env` (or set these in your process manager)
#
# IMPORTANT:
# - If you change ENCRYPTION_KEY later, previously-encrypted secrets in SQLite
# (GitHub App client secret, private key, webhook secret, PATs, sessions) will
# no longer decrypt.
# ------------------------------
# Backend (Node/Express)
# ------------------------------
# Server port
PORT=3001
# Environment mode
# - development: allows a non-secure fallback encryption key (NOT SAFE)
# - production: requires ENCRYPTION_KEY and serves frontend/dist (Option A)
NODE_ENV=production
# Required in production.
# Recommended format: 64 hex chars (32 bytes), e.g. from: `openssl rand -hex 32`
ENCRYPTION_KEY=
# Optional: where SQLite DB + app data is stored (default: backend/data)
DATA_DIR=
# Optional: where downloaded runner binaries/config live (default: ~/.action-packer/runners)
RUNNERS_DIR=
# Optional: Docker runner image (only used if you run runners in Docker)
RUNNER_IMAGE=myoung34/github-runner:latest
# ------------------------------
# Frontend (Vite)
# ------------------------------
# Vite only exposes vars prefixed with VITE_.
# API base URL.
# - Dev (frontend on :5173, backend on :3001): set to http://localhost:3001
# - Prod Option A (frontend served by backend): leave empty to use same-origin
VITE_API_URL=
# Optional WebSocket URL override.
# - Dev default is ws://<host>:3001/ws
# - Prod default is ws(s)://<host>/ws
VITE_WS_URL=