Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 661 Bytes

File metadata and controls

39 lines (32 loc) · 661 Bytes

Drone Dispatch Controller

API REST service for communication with the drone fleet

How build

go mod vendor
go build -o drone-dispatch-controller

How run

./drone-dispatch-controller --config=[/path/to/config/file]

Configuration file

There is an example of a configuration file in the config folder

Example:

{
  "log_level": 1,
  "show_logs": true,
  "listen_port": 9000
}

Run using docker

Build the image

docker build -t drone-dispatch-controller .

Run the image

docker run -p 8080:8080 drone-dispatch-controller

Storage

The service uses an in-memory database