2023-09-28 06:18:24 +00:00
|
|
|
# Please fill in these three variables
|
2023-09-19 07:05:59 +00:00
|
|
|
API_DLT='http://$IP_API_DLT'
|
|
|
|
API_DLT_TOKEN=$TOKEN
|
|
|
|
API_RESOLVER='http://$IP_API_RESOLVER'
|
2023-09-28 14:40:36 +00:00
|
|
|
# you might change or register ID_FEDERATED if you change DEVICEHUB_HOST
|
2023-09-19 07:05:59 +00:00
|
|
|
ID_FEDERATED='DH12'
|
2023-09-29 08:51:48 +00:00
|
|
|
# TODO this should be guessed by DEVICEHUB_HOST, and avoid hardcode of ID_FEDERATED
|
|
|
|
SERVER_ID_FEDERATED='DH12'
|
|
|
|
CLIENT_ID_FEDERATED='DH20'
|
2023-09-28 06:18:24 +00:00
|
|
|
|
|
|
|
# Database Variables
|
2020-09-29 07:42:05 +00:00
|
|
|
DB_USER='dhub'
|
|
|
|
DB_PASSWORD='ereuse'
|
|
|
|
DB_HOST='localhost'
|
2023-09-28 06:18:24 +00:00
|
|
|
DB_DATABASE='dpp'
|
|
|
|
SCHEMA='dbtest'
|
|
|
|
DB_SCHEMA='dbtest'
|
|
|
|
|
2023-09-29 08:51:48 +00:00
|
|
|
DEVICEHUB_HOST='http://localhost:5000'
|
2023-09-21 20:12:03 +00:00
|
|
|
#SERVER_ID_DEVICEHUB_HOST='http://devicehub-server-id.example.com'
|
|
|
|
SERVER_ID_DEVICEHUB_HOST='http://localhost:5000'
|
|
|
|
#CLIENT_ID_DEVICEHUB_HOST='http://devicehub-client-id.example.com'
|
|
|
|
CLIENT_ID_DEVICEHUB_HOST='http://localhost:5001'
|
2023-09-21 16:15:54 +00:00
|
|
|
SERVER_ID_SERVICE='server_id'
|
|
|
|
CLIENT_ID_SERVICE='client_id'
|
2023-09-19 16:03:23 +00:00
|
|
|
HOST='localhost'
|
|
|
|
|
2023-09-28 06:18:24 +00:00
|
|
|
EMAIL_DEMO='user@example.com'
|
2023-09-29 08:51:48 +00:00
|
|
|
SERVER_ID_EMAIL_DEMO='user5000@example.com'
|
|
|
|
CLIENT_ID_EMAIL_DEMO='user5001@example.com'
|
2023-09-28 06:18:24 +00:00
|
|
|
PASSWORD_DEMO='1234'
|
2023-09-19 16:03:23 +00:00
|
|
|
|
2023-09-28 06:37:41 +00:00
|
|
|
JWT_PASS='aaaa'
|
|
|
|
SECRET_KEY='aaaa'
|
2023-09-19 16:03:23 +00:00
|
|
|
|
|
|
|
# important to import snapshots (step 15)
|
|
|
|
# rel path starts with ./
|
2023-09-29 08:51:48 +00:00
|
|
|
SNAPSHOTS_PATH='./examples/snapshots'
|
2023-09-19 16:03:23 +00:00
|
|
|
# full path starts with /
|
2023-09-29 08:51:48 +00:00
|
|
|
#SNAPSHOTS_PATH='/tmp/dhub_docker/snapshots'
|
|
|
|
IMPORT_SNAPSHOTS='y'
|
2023-09-28 14:40:36 +00:00
|
|
|
|
|
|
|
# If you have a URL_MANUALS implementation, please change this url
|
|
|
|
URL_MANUALS='http://localhost:4000'
|
2023-10-24 06:49:55 +00:00
|
|
|
|
|
|
|
# on devicehub without dpp case, uncomment for a production deployment.
|
|
|
|
# That is, use of gunicorn instead of a debug python server
|
|
|
|
#DEPLOYMENT='PROD'
|