mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 17:46:53 +00:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# Environment configuration for API Manager development
|
|
# Copy this file to .env and update the values as needed
|
|
|
|
# Django Settings
|
|
SECRET_KEY=dev-secret-key-change-in-production
|
|
DEBUG=True
|
|
|
|
# API Configuration
|
|
API_HOST=http://127.0.0.1:8080
|
|
API_PORTAL=http://127.0.0.1:8080
|
|
|
|
# OAuth Configuration (Required - get these from your OBP API instance)
|
|
OAUTH_CONSUMER_KEY=d02e38f6-0f2f-42ba-a50c-662927e30058
|
|
OAUTH_CONSUMER_SECRET=sqdb35zzeqs20i1hkmazqiefvz4jupsdil5havpk
|
|
|
|
# Host Configuration
|
|
ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0,web
|
|
CALLBACK_BASE_URL=http://127.0.0.1:8000
|
|
|
|
# CSRF and CORS Configuration
|
|
CSRF_TRUSTED_ORIGINS=http://localhost:8000,http://127.0.0.1:8000
|
|
CORS_ORIGIN_WHITELIST=http://localhost:8000,http://127.0.0.1:8000
|
|
|
|
# Database Configuration (PostgreSQL - used by docker-compose)
|
|
DATABASE_URL=postgresql://apimanager:apimanager@db:5432/apimanager
|
|
|
|
# PostgreSQL Database Settings (for docker-compose)
|
|
POSTGRES_DB=apimanager
|
|
POSTGRES_USER=apimanager
|
|
POSTGRES_PASSWORD=apimanager
|
|
|
|
# Optional Settings
|
|
# API_EXPLORER_HOST=http://127.0.0.1:8082
|
|
# API_TESTER_URL=https://www.example.com
|
|
# SHOW_API_TESTER=False
|