-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy path.env.example
More file actions
73 lines (67 loc) · 2.39 KB
/
Copy path.env.example
File metadata and controls
73 lines (67 loc) · 2.39 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
71
72
73
# GeoDuels local development environment
# Required secrets (min 32 chars)
APP_AUTH_SECRET=replace-with-32+-char-random-secret
GAMEPLAY_TICKET_SECRET=replace-with-32+-char-random-secret
COORDINATOR_INTERNAL_SECRET=replace-with-32+-char-random-secret
# Auth/session settings
APP_ACCESS_TOKEN_TTL=15m
APP_REFRESH_TOKEN_TTL=720h
GUEST_SIGNUP_IP_LIMIT=3
GUEST_SIGNUP_IP_WINDOW=1h
GUEST_SIGNUP_IP_DAILY_LIMIT=10
GUEST_SIGNUP_IP_DAILY_WINDOW=24h
GUEST_ACCOUNT_TTL=24h
GUEST_ACCOUNT_CLEANUP_INTERVAL=1h
GUEST_ACCOUNT_CLEANUP_BATCH_SIZE=1000
STORAGE_CLEANUP_INTERVAL=1m
STORAGE_CLEANUP_BATCH_SIZE=1000
TURNSTILE_GUEST_REQUIRED=false
TURNSTILE_SECRET_KEY=
TURNSTILE_EXPECTED_HOSTNAME=
NEXT_PUBLIC_TURNSTILE_SITE_KEY=
# Comma-separated proxy CIDRs whose X-Forwarded-For / X-Real-IP headers are trusted.
TRUSTED_PROXY_CIDRS=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_ISSUER=https://accounts.google.com
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
DISCORD_BOT_TOKEN=
ADMIN_BOOTSTRAP_EMAILS=
STRIPE_MODE=test
STRIPE_TEST_PAYMENT_LINK_URL=
STRIPE_TEST_WEBHOOK_SECRET=
STRIPE_LIVE_PAYMENT_LINK_URL=https://donate.stripe.com/bJe28jfIN0BP1ps3D20oM02
STRIPE_LIVE_WEBHOOK_SECRET=
# Backend service addresses
API_ADDR=:8080
MATCH_COORDINATOR_ADDR=:8090
GAMEPLAY_NODE_ADDR=:8091
MATCH_COORDINATOR_URL=http://localhost:8090
GAMEPLAY_INTERNAL_URL=http://localhost:8091
NEXT_PUBLIC_SITE_URL=http://localhost:3000
GAMEPLAY_NODE_ID=game-1
GAMEPLAY_PUBLIC_ROUTE=game-1
GAMEPLAY_NODE_TTL=10s
CORS_ALLOWED_ORIGINS=http://localhost:3000,http://127.0.0.1:3000
# Data/infra (host-run defaults)
HOST_PRIVATE_IP=127.0.0.1
POSTGRES_USER=geoduels
POSTGRES_PASSWORD=replace-with-strong-db-password
POSTGRES_DB=geoduels
POSTGRES_URL=postgres://geoduels:geoduels@localhost:5432/geoduels?sslmode=disable
POSTGRES_MAX_CONNS=8
POSTGRES_PGBOUNCER=false
PGBOUNCER_POSTGRES_HOST=localhost
PGBOUNCER_POSTGRES_PORT=5432
PGBOUNCER_POSTGRES_DB=geoduels
PGBOUNCER_POSTGRES_USER=geoduels
PGBOUNCER_POSTGRES_PASSWORD=replace-with-strong-db-password
REDIS_PASSWORD=replace-with-strong-redis-password
REDIS_URL=redis://localhost:6379
# Docker compose overrides (container-to-container networking)
DOCKER_POSTGRES_URL=postgres://geoduels:geoduels@postgres:5432/geoduels?sslmode=disable
DOCKER_REDIS_URL=redis://redis:6379
DOCKER_MATCH_COORDINATOR_URL=http://match-coordinator:8090
# Migration script override
MIGRATIONS_DB_URL=postgres://geoduels:geoduels@127.0.0.1:5432/geoduels?sslmode=disable