Additional services deploy¶
The additional services set needs the apps Docker CE and Docker-compose for the fully running. You can check the full list of environment requirements for the Waves Enterprise platform in the System requirements page.
The additional services set is offered as a Docker container with the following list of services:
The corporate web client.
The data service.
The data crawler.
The authorization service.
Follow these steps to deploy the additional services set:
Download and unzip the file frontend-deployment.zip.
Specify the path to REST API and node hostname in the configuration file of the application
// nginx-proxy.env listing WE_NODE_ADDRESS=http://yournet.wavesenterprise.com:6862 WE_NODE_HOST=http://node-1:6862
Specify the path to REST API and authorization service hostname in the configuration file of the application
// crawler.env listing VOSTOK_AUTH_SERVICE_ADDRESS=http://auth-service:3000 VOSTOK_NODE_ADDRESS=http://yournet.wavesenterprise.com:6862
The following PostgreSQL DB access parameters are used in the configuration files of
// postgres.env listing POSTGRES_HOST=crawler-db POSTGRES_DB=blockchain POSTGRES_USER=postgres POSTGRES_PASSWORD=wenterprise // auth-service.env listing POSTGRES_HOST=db POSTGRES_DB=auth_db POSTGRES_USER=postgres POSTGRES_PASSWORD=wenterprise POSTGRES_PORT=5432
You must generate an RSA key pair for the
RSA_PRIVATE_FILE_PATHparameters. Run these commands sequentially:
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub cat jwtRS256.key cat jwtRS256.key.pub
Specify the following parameters in the configuration file of the application
The REST API path and the node URL:
The data string, which is passed to the hash function along with the password.
Parameters of the mail account which will be used by the authorization service for letters.
IS_MAIL_TRANSPORT_ENABLED=true MAIL_HOST=mail.example.com [email protected] MAIL_PASSWORD=3hSsgt3!8wr5 MAIL_PORT=587 IS_MAIL_SECURE=false
After registration each user must confirm his account by the following the link from the letter with account activation.
Specify the path to the authorization service REST API and URL-address in the configuration file of the application
Run docker-compose with the command
docker-compose -f docker-compose-frontend.yml up -d. Before starting the frontend service and all additional services a running node must be deployed.
Open the browser and go to
localhost:8080to check if the system client is successfully deployed.