forked from ludev-nl/2026-40-OpenML_Uploading_Interface
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (40 loc) · 1.46 KB
/
Copy path.env.example
File metadata and controls
48 lines (40 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Docker Compose deployment defaults.
# Copy this file to .env, then replace placeholder values before production use.
COMPOSE_PROJECT_NAME=openml-upload
# Public URLs. For local smoke tests, keep localhost. For production, use your
# HTTPS origin, for example https://upload.example.com.
APP_BASE_URL=http://localhost:8000
CORS_ALLOWED_ORIGINS=http://localhost:8000,http://127.0.0.1:8000
# Caddy listens on these host ports. For production TLS, set
# CADDY_SITE_ADDRESS to your domain and HTTP_PORT/HTTPS_PORT to 80/443.
CADDY_SITE_ADDRESS=:80
HTTP_PORT=8000
HTTPS_PORT=8443
# Replace all production secrets before deploying.
POSTGRES_DB=openml_upload
POSTGRES_USER=openml_upload
POSTGRES_PASSWORD=change-me
JWT_SECRET=change-me
COOKIE_SECURE=false
# GitHub OAuth App credentials. Configure the OAuth callback URL in GitHub
# itself, for example http://localhost:8000/login/callback for local Compose.
GITHUB_CLIENT_ID=
GITHUB_SECRET=
GITHUB_OAUTH_SCOPES=read:user,user:email,read:org
# Optional S3-compatible storage settings. Set STORAGE_BACKEND=s3 to enable.
STORAGE_BACKEND=local
S3_BUCKET=
S3_REGION=
S3_ENDPOINT=
S3_PUBLIC_ENDPOINT=
S3_ACCESS_KEY=
S3_SECRET_KEY=
S3_FORCE_PATH_STYLE=false
# Optional: enable only for local smoke tests without configuring GitHub OAuth.
AUTH_DEV_MODE_APPROVE_ALL_LOGINS=false
# Optional GitHub App settings for dataset review issue creation.
GH_APP_ID=
GH_INSTALL_ID=
GH_PRIV_KEY=
GITHUB_ISSUES_OWNER=koevoet1221
GITHUB_ISSUES_REPO=openmlupload-testing