zdravko/example.env

27 lines
798 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"
2024-05-23 18:34:52 +00:00
# When running `just run` or `just run-worker`
# This doesn't have to be set, as it's read from the file
#
#JWT_PUBLIC_KEY=""
#JWT_PRIVATE_KEY=""
2024-02-19 09:17:32 +00:00
# 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