-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy path.env.example
More file actions
53 lines (42 loc) · 2.35 KB
/
.env.example
File metadata and controls
53 lines (42 loc) · 2.35 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
# -----------------------------------------------------------------------------
# Server Configuration (dev defaults, required in all environments)
# -----------------------------------------------------------------------------
# Port the registry server listens on
# - Dev/Test: 9000 (from this file)
# - Prod: Set in deployment config
SERVER_PORT=9000
# SQLite database path (relative to working directory)
# - Dev: Uses local ./db directory
# - Test: Overridden to use temp state directory
# - Prod: Set to production database path
DATABASE_URL="sqlite:db/registry.sqlite3"
# -----------------------------------------------------------------------------
# Secrets (required for production, use dummy values for local dev)
# -----------------------------------------------------------------------------
# IMPORTANT: Never commit real secrets. The values below are dummies for testing.
# GitHub personal access token for pacchettibotti bot
# Used for: commits to registry repos, issue management
PACCHETTIBOTTI_TOKEN="ghp_pacchettibotti_token"
# Pacchettibotti SSH keys (base64-encoded)
# Used for: signing authenticated operations (unpublish, transfer)
# Generate with: ssh-keygen -t ed25519 -C "pacchettibotti@purescript.org"
# Encode with: cat key | base64 | tr -d '\n'
PACCHETTIBOTTI_ED25519_PUB="c3NoLWVkMjU1MTkgYWJjeHl6IHBhY2NoZXR0aWJvdHRpQHB1cmVzY3JpcHQub3Jn"
PACCHETTIBOTTI_ED25519="YWJjeHl6"
# DigitalOcean Spaces credentials for S3-compatible storage
# Used for: uploading/downloading package tarballs
SPACES_KEY="digitalocean_spaces_key"
SPACES_SECRET="digitalocean_spaces_secret"
# -----------------------------------------------------------------------------
# Debug / Development Options
# -----------------------------------------------------------------------------
# When "true", the server skips all writes: git push, S3 upload, Pursuit publish.
# Reads and compilations still run normally. Useful for reproducing slow jobs
# locally without affecting the real registry.
# READONLY=true
# -----------------------------------------------------------------------------
# Script-only Secrets (not used by server, used by scripts like legacy-importer)
# -----------------------------------------------------------------------------
# Personal GitHub token for API requests when running scripts
# This is YOUR token, not pacchettibotti's
GITHUB_TOKEN="ghp_your_personal_access_token"