Skip to content

xconnio/deskconn-router

Repository files navigation

Deskconn Cloud Router

The main Deskconn router that connects all services and devices.

Setup

  1. Clone the project
git clone git@github.com:xconnio/deskconn-router.git
cd deskconn-router
  1. Configure environment variables Create or edit the .env file with appropriate values:
DESKCONN_POSTGRES_HOST=localhost
DESKCONN_POSTGRES_URL=postgres://router:random@${DESKCONN_POSTGRES_HOST}:5432/deskconn_account_service?sslmode=disable&search_path=deskconn
DESKCONN_ROUTER_ADDRESS=localhost:8080

Note: DESKCONN_POSTGRES_URL must point to the same Postgres database used by the account service.

When running make run-docker, Docker Compose overrides DESKCONN_POSTGRES_HOST with host.docker.internal so the container connects to the Postgres instance running on the Docker host.

Run

make run

About

Deskconn cloud router

Resources

License

Stars

Watchers

Forks

Contributors