zdravko/example.env

24 lines
689 B
Bash
Raw Normal View History

2024-02-19 09:17:32 +00:00
# For all configuration options see:
# internal/config/server.go
# internal/config/worker.go
# internal/config/temporal.go
# Server
2024-02-16 13:23:07 +00:00
SESSION_SECRET=your_secret
2024-02-19 09:17:32 +00:00
# To generate keys, run "just generate-jwt-key"
JWT_PUBLIC_KEY=""
JWT_PRIVATE_KEY=""
# To generate worker token, go to website and
# create new worker. Then copy the token.
2024-02-24 21:07:49 +00:00
WORKER_GROUP_TOKEN=""
# OAUTH2
2024-02-16 13:23:07 +00:00
# The redirect/callback url is ${ROOT_URL}/oauth2/callback
OAUTH2_CLIENT_ID=your_client_id
OAUTH2_CLIENT_SECRET=your_client_secret
OAUTH2_ENDPOINT_TOKEN_URL=https://your_oauth2_provider/token
OAUTH2_ENDPOINT_AUTH_URL=https://your_oauth2_provider/auth
OAUTH2_ENDPOINT_USER_INFO_URL=https://your_oauth2_provider/userinfo