Configure Prophecies
The application can be configured using the following environment variables:
Environment Variable | Description | Default Value |
---|---|---|
| Secret key for Django security | 'django-insecure-...' |
| Debug mode toggle |
|
| Debug mode for templates | Value of |
| Host/domain names that Django can serve | 'localhost,127.0.0.1' |
| Trusted origins for CSRF protection | 'http://localhost:8080' |
| URL for static files | '/static/' |
| Directory for | Project root + 'run/static' |
| Type of media storage | 'FS' |
| Directory for user-uploaded files | '/media/' for S3, Project root + 'run/media' for FS |
| URL for media files | 'https://{AWS_S3_CUSTOM_DOMAIN}/' for S3, '/media/' for FS |
| AWS access key ID for S3 | None |
| AWS secret access key for S3 | None |
| AWS storage bucket name for S3 | None |
| AWS S3 region name | None |
| AWS S3 signature version | 's3v4' |
| AWS query string expiration time | '3600' |
| Database URL for Django-environ to parse | 'sqlite:///{root.path("db.sqlite3")()}' |
| Use | Value of |
| Namespace for social auth URLs | None |
| Login URL for social auth | '/login/provider/' |
| Hostname for OAuth provider | None |
| Key for OAuth provider | None |
| Secret for OAuth provider | None |
| Profile URL for OAuth provider | None |
| Authorization URL for OAuth provider | None |
| Access token URL for OAuth provider | None |
| Access token method for OAuth provider | 'POST' |
| Username field for OAuth provider | 'username' |
| Groups field for OAuth provider | 'groups' |
| Staff group for OAuth provider | 'staff' |
| Comma separated public keys for dynamic settings | 'loginUrl' |
| Toggle for Django Admin native login | Value of |
| URL for cache backend | 'filecache:///code/prophecies/run/cache/' |
| Logging level for Django | 'INFO' |
Last updated