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_PATH—Root 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_DSN—Database connection string. Use postgresql://... for production. If unset, falls back to SQLite.
VariableDefaultDescription
PAQUETIER_S3_ENDPOINT—S3-compatible endpoint
PAQUETIER_S3_BUCKET—Default bucket name
PAQUETIER_S3_ACCESS_KEY—S3 access key
PAQUETIER_S3_SECRET_KEY—S3 secret key
PAQUETIER_S3_SSLtrueUse HTTPS for S3 connections
PAQUETIER_S3_REGION—S3 region
PAQUETIER_S3_FORCE_PROXYfalseStream downloads through the server instead of S3 presigned redirects
VariableDefaultDescription
PAQUETIER_JWT_SECRET—Required. 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_ID—OAuth2 client ID
PAQUETIER_OAUTH2_CLIENT_SECRET—OAuth2 client secret
PAQUETIER_OAUTH2_AUTH_URL—OAuth2 authorization endpoint
PAQUETIER_OAUTH2_TOKEN_URL—OAuth2 token endpoint
PAQUETIER_OAUTH2_REDIRECT_URL—OAuth2 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