To set up a canonical development environment via docker, run the following from the root of the repository:
docker-compose up
This requires that you have docker installed. At this point in time, automatic configuration tools are not included with this project.
If you'd like to shut down the virtual infrastructure created by docker, run the following from the root of the repository:
docker-compose down
Once you docker-compose up
and are running the databases, you can build the code and run the following command to create the database tables:
fleet prepare db
To start the Fleet server backed by the Docker development infrastructure, run the Fleet binary as follows:
fleet serve
By default, Fleet will try to connect to servers running on default ports on localhost.
If you're using Docker via Docker Toolbox, you may have to modify the default values use the output of docker-machine ip
instead of localhost
. There is an example configuration file included in this repository to make this process easier for you. Use the --config
flag of the Fleet binary to specify the path to your config. See fleet --help
for more options.