diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..4d1206b --- /dev/null +++ b/.env.example @@ -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 diff --git a/.gitignore b/.gitignore index 36ad752..769cce9 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ # Ignore all environment files. /.env* +!.env.example # Ignore all logfiles and tempfiles. /log/*