-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-example
101 lines (86 loc) · 3.06 KB
/
.env-example
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# Application
APP_NAME=<appname>
APP_VERSION=v1.1.0
ORGANIZATION=<your-organization>
HOST=http://localhost:8000/
APP_HOST=localhost
APP_PORT=8000
API_URL=http://localhost:8000
# https://github.com/dulibrarytech/auth-service-js
LDAP_URL=https://<ldap-auth-service>
# https://randomkeygen.com/
API_KEY=<your-api-key>
NODE_ENV=development
# JWT
# https://randomkeygen.com/
TOKEN_SECRET=<your-secret-token>
TOKEN_ALGO=HS512
TOKEN_EXPIRES=12h
TOKEN_ISSUER=https://<your-domain>
# Search
ELASTIC_SEARCH=http://<your-domain>:9200
ELASTIC_SEARCH_FRONT_INDEX=repo_public
ELASTIC_SEARCH_BACK_INDEX=repo_admin
ELASTIC_SEARCH_SHARDS=3
ELASTIC_SEARCH_REPLICAS=2
# Database
DB_HOST=127.0.0.1
DB_USER=<your-db-username>
DB_PASSWORD=<your-db-password>
DB_NAME=repo
# Database QUEUE
DB_QUEUE_HOST=127.0.0.1
DB_QUEUE_USER=<your-db-queue-username>
DB_QUEUE_PASSWORD=<your-db-queue-password>
DB_QUEUE_NAME=repo_queue
# QA Service - https://github.com/dulibrarytech/digitaldu-backend-qa
# https://randomkeygen.com/
QA_API_KEY=<api-key>
QA_URL=http://<your-domain>
# Archivematica SFTP Server
SFTP_HOST=<your-archivematica-sftp-domain>
SFTP_ID=<your-archivematica-sftp-id>
SFTP_PWD=<your-archivematica-sftp-password>
SFTP_REMOTE_PATH=/home/<your-archivematica-home-folder>
SFTP_PORT=<your-port-number>
# Archivematica API
ARCHIVEMATICA_API=https://<your-archivematica-domain>/api/
ARCHIVEMATICA_USERNAME=<your-archivematica-username>
ARCHIVEMATICA_API_KEY=<your-archivematica-api-key>
ARCHIVEMATICA_TRANSFER_SOURCE=<your-archivematica-location-uuid>
# Archivematica Storage service
ARCHIVEMATICA_STORAGE_API=https://<your-archivematica-storage-domain>:8000/api/
ARCHIVEMATICA_STORAGE_USERNAME=<your-archivematica-storage-username>
ARCHIVEMATICA_STORAGE_API_KEY=<your-archivematica-storage-api-key>
# ArchivesSpace
ARCHIVESPACE_HOST=http://<your-archivesspace-domain>:8080
ARCHIVESPACE_REPOSITORY_ID=<your-archivesspace-repository-id>
ARCHIVESPACE_USER=<your-archivesspace-username>
ARCHIVESPACE_PASSWORD=<your-archivesspace-password>
# DuraCloud
DURACLOUD_API=<your-duracloud-domain>/durastore/dip-store/
DURACLOUD_USER=<your-duracloud-username>
DURACLOUD_PWD=<your-duracloud-password>
# Handle server - https://handle.net/
HANDLE_HOST=http://<your-handle-server-domain>
HANDLE_PREFIX=<your-handle-prefix>
HANDLE_USERNAME=<your-handle-username>
HANDLE_PWD=<your-handle-password>
HANDLE_TARGET=https://<your-handle-target>/
HANDLE_SERVER=http://<your-handle-server-domain>/
# Thumbnail service - https://github.com/dulibrarytech/digitaldu-frontend
TN_SERVICE_API_KEY=<api-key>
TN_SERVICE=<your-domain>
# Custom thumbnails for collections
TN_UPLOAD_PATH=<your-upload-path>
# Adjust based on your needs / setup
# Transfer approval occurs 35 sec. after transfer (Gives transfer process time to complete)
TRANSFER_APPROVAL_TIMER=35000
# Transfer status checks occur every 4 sec.
TRANSFER_STATUS_CHECK_INTERVAL=4000
# Ingest status checks begin 4 sec after the endpoint receives a request.
INGEST_STATUS_CHECK_INTERVAL=4000
# Time between each record index
INDEX_TIMER=300
# Time between each ArchivesSpace record request
METADATA_UPDATE_TIMER=8000