Configuration
Environment variables
You can configure the service at runtime using various environment variables:
SCORPION__CLIENTS- configuration for clients (as JSON) (default:{})SCORPION__CROCUS__PUBLIC__HOST- host of the public site of the crocus app (default:localhost)SCORPION__CROCUS__PUBLIC__PATH- path of the public site of the crocus app (default: ``)SCORPION__CROCUS__PUBLIC__PORT- port of the public site of the crocus app (default:20020)SCORPION__CROCUS__PUBLIC__SCHEME- scheme of the public site of the crocus app (default:http)SCORPION__DEBUG- enable debug mode (default:true)SCORPION__DIAMOND__SQL__HOST- host of the SQL API of the diamond database (default:localhost)SCORPION__DIAMOND__SQL__PASSWORD- password to authenticate with the SQL API of the diamond database (default:password)SCORPION__DIAMOND__SQL__PORT- port of the SQL API of the diamond database (default:20010)SCORPION__JANITOR__RETENTION- retention time for janitor (default:720h)SCORPION__LIFETIMES__TOKENS__ACCESS- access token lifetime (default:1h)SCORPION__LIFETIMES__TOKENS__REFRESH- refresh token lifetime (default:720h)SCORPION__SECRETS__COOKIE- cookie secrets (default:secretsecretsecret)SCORPION__SECRETS__SYSTEM- system secrets (default:secretsecretsecret)SCORPION__SERVER__HOST- host to run the server on (default:0.0.0.0)SCORPION__SERVER__PORTS__ADMIN- port for admin traffic (default:20001)SCORPION__SERVER__PORTS__PUBLIC- port for public traffic (default:20000)SCORPION__URLS__ADMIN- admin URL (default:http://localhost:20001)SCORPION__URLS__ISSUER- issuer URL (default:http://localhost:20000)SCORPION__URLS__PUBLIC- public URL (default:http://localhost:20000)