-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
130 lines (117 loc) · 4.3 KB
/
Copy path.env.example
File metadata and controls
130 lines (117 loc) · 4.3 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Game Foundry Studio environment-managed configuration example
# ENVIRONMENT
# Official environment model:
# Local (VS Code) -> DEV -> IST -> UAT -> PROD
#
# Only this .env.example file is committed to the repository.
# Real .env files are user/environment-owned and must live outside
# the repo clone or be injected by deployment.
#
# Official external copy-source names when a copy-source file is used:
# - .env.local
# - .env.dev
# - .env.ist
# - .env.uat
# - .env.prod
# Legacy technical debt only:
# - .env.prd
#
# Example external layout:
# - /env/local/.env
# - /env/dev/.env
# - /env/ist/.env
# - /env/uat/.env
# - /env/prod/.env
# - /GFS/ repo clone
#
# The app/runtime reads .env values supplied by the target environment.
#
# Environment invariance:
# Use an identical deployable artifact in every environment.
# Only .env values and environment-managed secret values differ.
#
# Approved guest seed data for all tools belongs in every environment.
# Do not store guest seed payloads in .env.
#
# Required services in every environment:
# - Supabase Auth
# - Supabase Postgres
# - Cloudflare R2
#
# Configure runtime auth, database, and storage connections here.
# Missing connection configuration reports diagnostics instead of falling back.
# Required environment identity.
# Allowed values: local, dev, ist, uat, prod.
GAMEFOUNDRY_ENVIRONMENT=local
# Browser-safe public site/API configuration exposed through the server API.
# These values may be sent to browser pages. Do not place secrets here.
# Local uses 127.0.0.1 hostnames.
# DEV/IST/UAT/PROD use configured *.gamefoundrystudio.com hostnames.
# One shared API/service contract is used everywhere; URLs may differ by .env only.
# Do not split Local API and Public API contracts.
GAMEFOUNDRY_SITE_URL=
GAMEFOUNDRY_API_URL=
# Display-only environment label.
# Do not use this value for runtime behavior, API/service selection, storage selection, or feature behavior.
# Valid environment banner labels:
# - Local Development Environment
# - Development Environment
# - Integration Testing Environment
# - User Acceptance Testing Environment
# - Production
GAMEFOUNDRY_ENVIRONMENT_LABEL="Local Development Environment"
# Database SSL mode is required and authoritative.
# Supported values:
# - disable: plain TCP Postgres
# - require: TLS Postgres
GAMEFOUNDRY_DATABASE_SSL=require
# Browser-safe account connection configuration.
# Leave values empty in this example; local values belong in user-managed copy files.
GAMEFOUNDRY_SUPABASE_URL=
GAMEFOUNDRY_SUPABASE_ANON_KEY=
# Server-only product-data and account administration connection configuration.
# Do not expose these values to browser JavaScript, HTML, reports, or screenshots.
GAMEFOUNDRY_SUPABASE_SERVICE_ROLE_KEY=
GAMEFOUNDRY_DATABASE_URL=
# Server-only Postgres backup storage.
# Copy this file to .env and keep the active deployment target's prefix:
# LOCAL /local/backups/postgres/
# DEV /dev/backups/postgres/
# IST /ist/backups/postgres/
# UAT /uat/backups/postgres/
# PROD /prod/backups/postgres/
# R2 object prefixes are created by object upload; no manual folder creation is required.
GAMEFOUNDRY_DB_BACKUP_STORAGE_PROVIDER=r2
GAMEFOUNDRY_DB_BACKUP_PREFIX=/local/backups/postgres/
# Optional temporary server-side pg_dump staging override.
# Leave blank to use the OS temp directory. Do not point this at repo tmp/.
GAMEFOUNDRY_DB_BACKUP_STAGING_DIR=
# Deprecated: final backup artifacts are uploaded to R2, not stored here.
GAMEFOUNDRY_DB_BACKUP_DIR=
# Server-only project asset storage configuration.
# Browser uploads must go through the server API and must not receive these secrets.
# Official Cloudflare R2 top-level prefixes:
# LOCAL /local/
# DEV /dev/
# IST /ist/
# UAT /uat/
# PROD /prod/
#
# Approved GAMEFOUNDRY_STORAGE_PROJECTS_PREFIX values:
# LOCAL /local/projects/
# DEV /dev/projects/
# IST /ist/projects/
# UAT /uat/projects/
# PROD /prod/projects/
GAMEFOUNDRY_STORAGE_ENDPOINT=
GAMEFOUNDRY_STORAGE_ACCESS_KEY_ID=
GAMEFOUNDRY_STORAGE_SECRET_ACCESS_KEY=
GAMEFOUNDRY_STORAGE_BUCKET=
GAMEFOUNDRY_STORAGE_PROJECTS_PREFIX=/local/projects/
# Environment-specific service limit placeholders.
# Leave empty when live usage/limit reporting is not configured.
GAMEFOUNDRY_STORAGE_LIMIT_BYTES=
GAMEFOUNDRY_STORAGE_CLASS_A_LIMIT_MONTHLY=
GAMEFOUNDRY_STORAGE_CLASS_B_LIMIT_MONTHLY=
GAMEFOUNDRY_DB_SIZE_LIMIT_BYTES=
GAMEFOUNDRY_DB_CONNECTION_LIMIT=