Skip to content

Commit 023604a

Browse files
committed
State example values
1 parent c84ac54 commit 023604a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.env.example

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22
DATABASE_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
66
DB_NAME=makerspaceapi
77
DB_USER=makerspace
88
DB_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
1313
OIDC_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=
1818
OIDC_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
2222
SECRET_KEY=change-me-to-a-long-random-string
2323
DEBUG=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

0 commit comments

Comments
 (0)