forked from performant-software/core-data-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
105 lines (74 loc) · 2.91 KB
/
.env.example
File metadata and controls
105 lines (74 loc) · 2.91 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
############################
# core-data-cloud environment
############################
# Length of JWT expiration in hours
# Recommeded: 24
AUTHENTICATION_EXPIRATION=24
# AWS credentials for Active Storage
AWS_ACCESS_KEY_ID=abcdefg
AWS_SECRET_ACCESS_KEY=hijklmnop
AWS_REGION=us-east-1
AWS_BUCKET_NAME=core-data-cloud
# In Docker compose mode, this is the location on the docker host where DB data should be stored. This option is
# not used outside of Docker.
DATABASE_VOLUME=./tmp/db
# Username used to connect to the database.
DATABASE_USERNAME=postgres
# Password used to connect to the database.
DATABASE_PASSWORD=password
# Maximum size of the database connection pool
DATABASE_POOL=100
# Name of the database.
DATABASE_NAME=db
# API to access IIIF Cloud.
IIIF_CLOUD_API_KEY=12345
# The URL of the IIIF Cloud instance.
IIIF_CLOUD_URL=https://iiif-cloud-staging.herokuapp.com/
# The ID of the project in IIIF Cloud in which to store resources.
IIIF_CLOUD_PROJECT_ID=1
# In staging and test environments, the application will be allowed to send emails to this domain.
MAILSAFE_ALLOWED_DOMAIN=@example.com
# In staging and test environments, emails to all domains (not listed above) will be redirected to this address.
MAILSAFE_REDIRECT_ADDRESS=core-data@example.com
# Port to use for the Rails API.
PORT=3001
# Postmark API token.
POSTMARK_API_TOKEN=abc123
# Postmark "from" email. This address must be setup in the "Send Signatures" section of PostMark.
POSTMARK_FROM=no-reply@app.coredata.cloud
# Postmark email interval (in hours). The application will not allow users to send multiple
# emails within this interval.
POSTMARK_INTERVAL=24
# Rails environment
RAILS_ENV=development
# A base secret for Rails.
SECRET_KEY_BASE=339485u34895u4398u58394u543u59834u958u347y62347632t47235467235674
# API Key to access Typesense backend.
TYPESENSE_API_KEY=xyz
# In Docker compose mode, this is the location on the docker host where Typesense data should be stored. This option is
# not used outside of Docker.
TYPESENSE_VOLUME=./tmp/typesense
# The hostname of the Core Data Cloud CMS
VITE_HOSTNAME=http://localhost:3001
HOSTNAME=http://localhost:3000
# Maximum number of items that can exist in a IIIF manifest.
VITE_IIIF_MANIFEST_ITEM_LIMIT=1000
# MapTiler API key.
VITE_MAP_TILER_KEY=abc
# Port to use for the Vite dev server.
VITE_PORT=3000
# Postmark email interval (in hours). The application will not allow users to send multiple
# emails within this interval.
VITE_POSTMARK_INTERVAL=24
# URL to proxy dev server requests.
VITE_PROXY_URL=http://localhost:3001
# Keycloak single sign on URL.
VITE_SSO_BASE_URL=https://keycloak.myapp.com
# Keycloak client name.
VITE_SSO_CLIENT=myapp
# A list of domains for which login requires single sign on.
VITE_SSO_DOMAINS=example.com
# Keycloak realm name.
VITE_SSO_REALM=MyRealm
# URL for which to redirect a successful login.
VITE_SSO_REDIRECT_URI=https://myapplication.com/core_data/auth/sso/callback