-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
70 lines (59 loc) · 1.81 KB
/
Copy path.env.example
File metadata and controls
70 lines (59 loc) · 1.81 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
60
61
62
63
64
65
66
67
68
69
70
# ============================================
# GCW Backend - Environment Variables Example
# ============================================
# Copy this file to .env and fill in your values
# cp .env.example .env
# ---- App Configuration ----
ENVIRONMENT=development
VERSION=1.0.0
APP_NAME=gcw
PORT=8000
MODE=debug
BE_MODE=dev
HOST_HEADER=localhost
CORS_ORIGIN=http://localhost:3000
# ---- Database Configuration ----
DB_CONNECTION=postgres
DB_HOST=localhost
DB_PORT=5432
DB_NAME=gcw_db
DB_USER=postgres
DB_PASS=postgres
# ---- API URLs ----
API_BASE_URL=http://localhost:8000/api/v1/gcw/resources
ADMIN_API_BASE_URL=http://localhost:8000/api/v1/gcw/admin
# ---- JWT Configuration ----
JWT_SECRET=your-jwt-secret-key
JWT_REFRESH_SECRET=your-jwt-refresh-secret-key
JWT_ISSUER=gcw
# ---- JWT Keys (RSA) ----
JWT_PRIVATE_KEY_PATH=keys/jwt_private.pem
JWT_PUBLIC_KEY_PATH=keys/jwt_public.pem
# ---- Email / SMTP Configuration ----
EMAIL_HOST=smtp.gmail.com
EMAIL_PORT=587
EMAIL_USERNAME=your-email@gmail.com
EMAIL_PASSWORD=your-email-app-password
EMAIL_FROM=your-email@gmail.com
# ---- Google OAuth ----
GOOGLE_CLIENT_ID=your-google-client-id.apps.googleusercontent.com
# ---- DOMjudge Integration ----
DOMJUDGE_URL=http://localhost:12345
DOMJUDGE_CONTEST_ID=1
DOMJUDGE_USERNAME=admin
DOMJUDGE_PASSWORD=admin
# ---- Midtrans Payment Gateway ----
MIDTRANS_SERVER_KEY=your-midtrans-server-key
MIDTRANS_CLIENT_KEY=your-midtrans-client-key
MIDTRANS_ENVIRONMENT=sandbox
MIDTRANS_ACTIVE=false
# ---- Registration Fees (in IDR) ----
HACKATHON_FEE=100000
CP_FEE=75000
CTF_FEE=75000
# ---- Stellar Blockchain Audit Log ----
STELLAR_NETWORK=testnet
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_RPC_URL=https://soroban-testnet.stellar.org
STELLAR_SECRET_KEY=your-stellar-secret-key
STELLAR_CONTRACT_ADDRESS=your-stellar-contract-address