Skip to content
Paquetier

Configuration

Paquetier is configured entirely through environment variables, all prefixed with PAQUETIER_.

VariableDefaultDescription
PAQUETIER_SERVER_ADDR:8080Address and port the server listens on
PAQUETIER_PUBLIC_URLhttp://localhost:8080The public-facing URL of the instance
PAQUETIER_ROOT_PATHRoot path for reverse proxy sub-path deployments
PAQUETIER_LOG_LEVELinfoLog level: trace, debug, info, warn, error
PAQUETIER_ENABLE_SWAGGERtrueEnable the Scalar-powered API documentation at /api/v1/docs
VariableDefaultDescription
PAQUETIER_DATABASE_DSNDatabase connection string. Use postgresql://... for production. If unset, falls back to SQLite.
VariableDefaultDescription
PAQUETIER_S3_ENDPOINTS3-compatible endpoint
PAQUETIER_S3_BUCKETDefault bucket name
PAQUETIER_S3_ACCESS_KEYS3 access key
PAQUETIER_S3_SECRET_KEYS3 secret key
PAQUETIER_S3_SSLtrueUse HTTPS for S3 connections
PAQUETIER_S3_REGIONS3 region
PAQUETIER_S3_FORCE_PROXYfalseStream downloads through the server instead of S3 presigned redirects
VariableDefaultDescription
PAQUETIER_JWT_SECRETRequired. Secret key for signing JWT tokens. Must be stable across restarts.
PAQUETIER_SESSION_EXPIRES72hJWT session token duration
PAQUETIER_LOCAL_AUTHtrueEnable username/password authentication
PAQUETIER_REGISTRATION_OPENtrueAllow new user registration
VariableDefaultDescription
PAQUETIER_OAUTH2_CLIENT_IDOAuth2 client ID
PAQUETIER_OAUTH2_CLIENT_SECRETOAuth2 client secret
PAQUETIER_OAUTH2_AUTH_URLOAuth2 authorization endpoint
PAQUETIER_OAUTH2_TOKEN_URLOAuth2 token endpoint
PAQUETIER_OAUTH2_REDIRECT_URLOAuth2 redirect URL
VariableDefaultDescription
PAQUETIER_R_PATHRPath to the R binary
PAQUETIER_BUILD_LOG_DIRbuild-logsDirectory for storing build logs
VariableDefaultDescription
PAQUETIER_LOCAL_STORAGE_POLICYallWho can create local filesystem storage connections: all or admin_only