Repository navigation
Expand file tree
/
Copy path.env.sample
More file actions
41 lines (32 loc) · 1.52 KB
/
Copy path.env.sample
File metadata and controls
41 lines (32 loc) · 1.52 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
DATABASE_URL=postgresql://catalogi:pg_password@localhost:5432/db
API_PORT=3084
IMPORT_DATA_SOURCE_ORIGIN=wikidata
# Required by the API at startup. These values target the Keycloak of docker-compose.resources.yml.
APP_URL=http://localhost:3000
OIDC_ISSUER_URI=http://localhost:8080/realms/catalogi
OIDC_CLIENT_ID=catalogi
OIDC_CLIENT_SECRET=change-this
OIDC_MANAGE_PROFILE_URL=http://localhost:8080/realms/catalogi/account
# Optional one-time bootstrap for the first Catalogi administrator. This must
# match the email returned by OIDC; remove it after that user has signed in.
# CATALOGI_INITIAL_ADMIN_EMAIL=admin@example.com
# Environment identifier for environment-specific configuration
# Valid values: "local", "dev", "staging", "pre-production", "production"
# Can be used for environment-specific features like Sentry monitoring, logging levels, etc.
# Defaults to "local" if not provided
ENVIRONMENT=local
# Sentry error tracking (optional)
# If not provided, the application will work normally without Sentry integration
# SENTRY_DSN_API=https://your-api-dsn@sentry.example.com/project-id
# SENTRY_DSN_WEB=https://your-web-dsn@sentry.example.com/project-id
VITE_HEAD="
<title>Catalogi - Local use</title>
<script defer>
console.log('This is a custom code in head, used in local');
</script>
"
# The following variables are used to configure the docker-compose.resources.yml
# make sure it is aligned with DATABASE_URL, the following are the defaults:
# POSTGRES_DB=db
# POSTGRES_USER=catalogi
# POSTGRES_PASSWORD=pg_password