-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apparently, .env requires special syntax...
- Loading branch information
Showing
1 changed file
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,35 @@ | ||
# B2SHARE evironment variables | ||
export B2ACCESS_CONSUMER_KEY=myb2share # the username used for registration | ||
export B2ACCESS_SECRET_KEY=b2a-secretkey # the secret used for registration (not needed on test server) | ||
|
||
export B2SHARE_SECRET_KEY=secretkey # a secret string used for encrypting user sessions | ||
export B2SHARE_JSONSCHEMAS_HOST=localhost:5000 # replace <FQDN> with the domain of the B2SHARE server | ||
export B2SHARE_POSTGRESQL_USER=b2share # username used by b2share when accessing the postgresql database (default=b2share) | ||
export B2SHARE_POSTGRESQL_DBNAME=b2sharedb # name of the postgresql database used by b2share | ||
export B2SHARE_POSTGRESQL_PASSWORD=dbpasswd # password used by b2share when accessing the postgresql database | ||
export B2SHARE_RABBITMQ_USER=b2share # username used by b2share when accessing RabbitMQ service | ||
export B2SHARE_RABBITMQ_PASS=rmqpasswd # password used by b2share when accessing RabbitMQ service | ||
export B2SHARE_DATADIR='./data-dir' # path on the host which will be mounted and contain all b2share related data, | ||
# including postgresql, elasticsearch, redis, rabbitmq, nginx and b2share itself. | ||
# the username used for registration | ||
B2ACCESS_CONSUMER_KEY=myb2share | ||
# the secret used for registration (not needed on test server) | ||
B2ACCESS_SECRET_KEY=b2a-secretkey | ||
|
||
## optional environment variables | ||
export USE_STAGING_B2ACCESS=1 # run in staging (testing) mode (unity install) | ||
export INIT_DB_AND_INDEX=1 # when run the first time, initialize the database and indices | ||
export LOAD_DEMO_COMMUNITIES_AND_RECORDS=1 # when run the first time, load some communities and records for demonstration | ||
# a secret string used for encrypting user sessions | ||
B2SHARE_SECRET_KEY=secretkey | ||
B2SHARE_JSONSCHEMAS_HOST=localhost:5000 | ||
# username used by b2share when accessing the postgresql database (default=b2share) | ||
B2SHARE_POSTGRESQL_USER=b2share | ||
# name of the postgresql database used by b2share | ||
B2SHARE_POSTGRESQL_DBNAME=b2sharedb | ||
# password used by b2share when accessing the postgresql database | ||
B2SHARE_POSTGRESQL_PASSWORD=dbpasswd | ||
# username used by b2share when accessing RabbitMQ service | ||
B2SHARE_RABBITMQ_USER=b2share | ||
# password used by b2share when accessing RabbitMQ service path on the host | ||
# which will be mounted and contain all b2share related data, | ||
B2SHARE_RABBITMQ_PASS=rmqpasswd | ||
# path on the host which will be mounted and contain all b2share related data, | ||
# including postgresql, elasticsearch, redis, rabbitmq, nginx and b2share | ||
# itself. | ||
B2SHARE_DATADIR=./data | ||
|
||
|
||
###### optional environment variables ##### | ||
|
||
# run in staging (testing) mode (unity install) | ||
USE_STAGING_B2ACCESS=1 | ||
# when run the first time, initialize the database and indices | ||
INIT_DB_AND_INDEX=1 | ||
# when run the first time, load some communities and records for demonstration | ||
LOAD_DEMO_COMMUNITIES_AND_RECORDS=1 |