Skip to content

Data Service Config

Maxime Landon edited this page Feb 24, 2020 · 3 revisions

The Data Service configuration file is located at ~/.wiregost/data-service/config.yaml

Database

By default, database user, dbname and password are set, for first time use. You can change them either before setting up the database, or after if need to connect to another DB.

  • db_name: "wiregost_db"
  • db_user: "wiregost"
  • db_password: "wiregost"

WARNING: If you change these credentials but the database/user they refer to don't exist, the Data Service will fail to start ! However, if they exist, the Data Service will automatically migrate the Database Schema.

Data Service

You can change the host and port on which the Data Service is listening, as well as the URL (not recommended, need to check the code for this)

  • address: "localhost"
  • port: 8001
  • url: "/"
Clone this wiki locally