File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22DATABASE_URL = mysql+pymysql://makerspace:makerspace@localhost:3306/makerspaceapi
33
44# MariaDB (used by docker-compose)
5- DB_ROOT_PASSWORD = rootpassword
5+ DB_ROOT_PASSWORD = rootpassword # Generate a safe password
66DB_NAME = makerspaceapi
77DB_USER = makerspace
88DB_PASSWORD = makerspace
99
1010# OIDC
11- OIDC_CLIENT_ID = makerspaceapi
12- OIDC_CLIENT_SECRET = your-client-secret-here
11+ OIDC_CLIENT_ID = makerspaceapi # Paste from your OIDC provider
12+ OIDC_CLIENT_SECRET = your-client-secret-here # Paste from your OIDC provider
1313OIDC_DISCOVERY_URL = https://auth.example.com/.well-known/openid-configuration
14- OIDC_ADMIN_GROUP = makerspace-admins
14+ OIDC_ADMIN_GROUP = makerspace-admins # or what ever your admin group is called
1515# Optional: OIDC group whose members can manage products, inventory, aliases and categories.
1616# Leave empty (or omit) to restrict product management to admins only.
1717# OIDC_PRODUCT_MANAGER_GROUP=
1818OIDC_GROUP_CLAIM = groups
19- OIDC_REDIRECT_URI = http://localhost:8000/auth/callback
19+ OIDC_REDIRECT_URI = http://localhost:8000/auth/callback # Adjust to your production url like https://api.makerspace.example/auth/callback
2020
2121# App
2222SECRET_KEY = change-me-to-a-long-random-string
2323DEBUG = false
24- BASE_URL = http://localhost:8000
24+ BASE_URL = http://localhost:8000 # Also adjust this to your production url
2525
2626# Optional: set true to overwrite user.name from OIDC claims on NFC self-service card linking
2727# OIDC_LINK_UPDATE_NAME=false
You can’t perform that action at this time.
0 commit comments