1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-13 06:40:06 +02:00
Go to file
2017-09-08 16:22:24 +01:00
docker chore: update api images 2017-09-01 23:19:47 +01:00
packages chore(ui-toolkit): add tertiary button 2017-09-08 13:01:37 +01:00
scripts chore(my-joyent): Update from conventional-changelog-lint to commitlint 2017-09-08 11:13:03 +01:00
.dockerignore build: update config files to support containerpilot v3 2017-06-20 00:18:34 +01:00
.eslintrc style: update root lint rules 2017-05-31 20:17:12 +01:00
.gitignore fix: fix key gen 2017-09-08 16:22:24 +01:00
.licensesrc.json chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.tern-project chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.yarnclean feat: number input and mutations for restart, stop and start 2017-06-19 13:48:34 +01:00
.yarnrc chore: use yarn workspaces 2017-08-04 00:51:24 +01:00
CHANGELOG.md chore: enable changelog on root level 2017-05-26 10:19:48 +01:00
circle.yml test(cp-gql-mock-server): add logs to socket and http server lifecycle 2017-09-08 12:25:56 +01:00
commitlint.config.js chore(my-joyent): Update from conventional-changelog-lint to commitlint 2017-09-08 11:13:03 +01:00
CONTRIBUTING.md docs: document commit types 2017-05-31 22:37:10 +01:00
copilot.png feat: add getting start guide 2017-08-03 11:00:05 +01:00
docker-compose.yml chore: update api images 2017-09-01 23:19:47 +01:00
gen-keys.sh fix: fix key gen 2017-09-08 16:22:24 +01:00
GETTING_STARTED.md docs: add instructions to start dev environment 2017-06-06 11:34:23 +01:00
lerna.json chore: use yarn workspaces 2017-08-04 00:51:24 +01:00
LICENSE Change license to MPL2 2016-12-09 17:39:42 +00:00
local-compose.yml bug: boostrap/start when rethink/docker are ready 2017-08-21 18:05:57 +01:00
package.json chore(my-joyent): Update from conventional-changelog-lint to commitlint 2017-09-08 11:13:03 +01:00
README.md feat: gen cert script added 2017-09-05 17:44:53 +01:00
setup.sh feat: gen cert script added 2017-09-05 17:44:53 +01:00
triton-compose.yml chore: update api images 2017-09-01 23:19:47 +01:00
yarn.lock chore(my-joyent): Update from conventional-changelog-lint to commitlint 2017-09-08 11:13:03 +01:00

CoPilot Logo

CircleCI License: MPL 2.0 standard-readme compliant

Table of Contents

Requirements

Install

Set local environment variables

There is a setup.sh script that is used to create an environment (_env) file that will contain the keys you use to connect to Triton as well as the keys used to secure the CoPilot installation. In order for this to work correctly you will need to first load the Triton environment variables with the triton profile you plan to use. Below is an example of setting these environment variables using the triton CLI.

$ eval "$(triton env)"

Additionally, you will need a Certificate Authority certificate file, a server certificate, and a server key file. In the subsection below is an example of generating these files.

Generating Certificates to Secure CoPilot

To help simplify the creation of certificates there is a gen-keys.sh script. Run it and answer the prompts to generate all of the required keys to secure CoPilot.

$ ./gen-keys.sh

Generate _env file from setup.sh

Execute the setup.sh script with the path to your key files.

$ ./setup.sh ~/path/to/TRITON_PRIVATE_KEY keys-test.com/ca.crt keys-test.com/server.key keys-test.com/server.crt

Usage

You have 3 options for where to run CoPilot. You can either run it using the published docker images locally, or on Triton. The last option is to build the docker images and run docker containers from these locally built images.

Start CoPilot using published docker images locally

$ docker-compose up -d

Navigate to https://localhost to load the dashboard.

Deploy and run CoPilot on Triton

$ docker-compose -f triton-compose.yml up -d

Optionally use triton-docker

$ triton-compose -f triton-compose.yml up -d

Build and run CoPilot locally

$ docker-compose -f local-compose.yml up -d

Contribute

See the contribute file!

License

MPL-2.0