-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
82 lines (67 loc) · 2.92 KB
/
.env.example
File metadata and controls
82 lines (67 loc) · 2.92 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Copy to .env and customize. Do not commit .env.
# Compose loads this for interpolation and passes values into containers (see docker-compose.yml).
# Bring-up order: docker compose up -d → dev_bootstrap → dev_branding → dev_seed (see README.md).
VERSION=6.10.1-noble-r0
DOCKER_HUB=gdcc/dataverse
CONFIGURATION_PATH=.
DATAVERSE_DB_HOST=postgres
DATAVERSE_DB_USER=dataverse
DATAVERSE_DB_PASSWORD=dvnsecret
DATAVERSE_DB_NAME=dataverse
SOLR_SERVICE_HOST=solr
SOLR_SERVICE_PORT=8983
# Used by scripts/init.d inside the Dataverse container (curl to localhost:8080). Host:port only, no URL scheme.
DATAVERSE_URL=localhost:8080
DATAVERSE_SERVICE_HOST=localhost.direct
# Optional: admin API token for branding/seed compose jobs (normally secrets/api/key is filled from bootstrap.env by dev_branding / dev_seed entrypoints).
# DATAVERSE_API_TOKEN=
POSTGRES_USER=dataverse
POSTGRES_PASSWORD=dvnsecret
POSTGRES_SERVER=postgres
POSTGRES_DATABASE=dataverse
POSTGRES_DB=dataverse
POSTGRES_PORT=5432
# Public hostname (scripts/init.d sets dataverse.siteUrl to https://<hostname> — use Stack Car *.localhost.direct).
hostname=localhost.direct
# Traefik Host() rules use ${traefikhost} and subdomains (solr.<traefikhost>, minio.<traefikhost>, …).
traefikhost=localhost.direct
INIT_SCRIPTS_FOLDER=/opt/payara/init.d
# MinIO dev credentials (override for shared or production installs).
MINIO_ROOT_USER=love
MINIO_ROOT_PASSWORD=love1234
# Optional; unused for local dev when TLS is provided by `sc proxy` (Stack Car).
useremail=you@example.org
# --- Optional: SMTP (scripts/init.d/010-mailrelay-set.sh; requires system_email; smtp_enabled not false/0/no) ---
# smtp_enabled=true
# smtp_type=plain
# smtp_auth=true
# smtp_starttls=true
# smtp_port=587
# socket_port=587
# mailhost=smtp.example.com
# mailuser=apikey-or-username
# smtp_password=secret
# system_email=support@example.com
# no_reply_email=noreply@example.com
WEBHOOK=/opt/payara/triggers/external-services.py
# Optional: DataCite test (leave as-is for FAKE DOIs via bootstrap / scripts/init.d)
dataciterestapiurlstring=https\\:\/\/api.test.datacite.org
baseurlstring=https\:\/\/mds.test.datacite.org
# Optional builtin-user API key override (see scripts/init.d/01-persistent-id.sh)
# BUILTIN_USERS_KEY=burrito
# --- Optional: MinIO buckets (only if scripts/init.d minio scripts should run) ---
# minio_label_1=
# bucketname_1=
# minio_bucket_1=
# minio_profile_1=
# --- Optional: AWS S3 store (only if scripts/init.d/006-s3-aws-storage.sh should run) ---
# aws_bucket_name=
# aws_endpoint_url=
# aws_s3_profile=
# --- dev_seed (runs after dev_branding on docker compose up -d; docker compose run --rm dev_seed to re-seed) ---
# SEED_PARENT_ALIAS=root
# Max wait for Dataverse API in dev_seed entrypoint (seconds).
# SEED_WAIT_MAX_SECONDS=600
# Publish retries when Dataverse returns HTTP 403 (e.g. tabular ingest still running): attempts × sleep ≈ max wait.
# SEED_PUBLISH_MAX_ATTEMPTS=120
# SEED_PUBLISH_RETRY_SLEEP=5