mirror of
https://github.com/System-End/stickers.git
synced 2026-04-19 15:18:17 +00:00
add env ex
This commit is contained in:
parent
f25948bc1c
commit
0500e20939
2 changed files with 25 additions and 0 deletions
24
.env.example
Normal file
24
.env.example
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
|
||||
# Generate with: rails secret OR openssl rand -hex 64
|
||||
SECRET_KEY_BASE=your_secret_key_base_here
|
||||
|
||||
# Production database URL (PostgreSQL)
|
||||
# Format: postgresql://user:password@host:port/database
|
||||
DATABASE_URL=postgresql://stickers:password@localhost:5432/stickers_production
|
||||
|
||||
AIRTABLE_PAT=your_personal_access_token
|
||||
AIRTABLE_BASE_ID=your_base_id
|
||||
AIRTABLE_STICKER_DB_TABLE_ID=your_stickers_table_id
|
||||
AIRTABLE_SHOP_TABLE_ID=your_shop_table_id
|
||||
AIRTABLE_DESIGN_TABLE_ID=your_designs_table_id
|
||||
|
||||
OIDC_ISSUER=https://auth.hackclub.com
|
||||
OIDC_CLIENT_ID=your_client_id
|
||||
OIDC_CLIENT_SECRET=your_client_secret
|
||||
OIDC_REDIRECT_URI=http://localhost:3100/auth/oidc/callback
|
||||
|
||||
|
||||
# Docker Compose / Coolify (only needed for docker-compose.coolify.yml)
|
||||
# POSTGRES_USER=stickers
|
||||
# POSTGRES_PASSWORD=your_secure_password
|
||||
# POSTGRES_DB=stickers_production
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
# Ignore all environment files.
|
||||
/.env*
|
||||
!.env.example
|
||||
|
||||
# Ignore all logfiles and tempfiles.
|
||||
/log/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue