-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'compose' into 'staging'
Compose See merge request !350
- Loading branch information
Showing
20 changed files
with
294 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
MIST_TAG=staging | ||
MIST_TAG=compose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,65 @@ | ||
# mist.io | ||
|
||
Mist.io helps you operate, monitor and govern your computing infrastructure, | ||
across clouds and platforms. The code is provided under the GNU AGPL v3.0 | ||
across clouds and platforms. The code is provided under the GNU AGPL v3.0 | ||
License. | ||
|
||
An enterprise version that includes Role Based Access, VPN tunnels and | ||
Insights for cost optimization is available as a service at https://mist.io | ||
|
||
|
||
## Installation | ||
|
||
Mist.io is a large application split into microservices which are packages in | ||
docker containers. The easiest way to run it is by using `docker-compose`. So, | ||
in order to run it, one needs to install a recent version of `docker` and | ||
`docker-compose`. | ||
|
||
There are two ways to run this application with docker-compose: | ||
|
||
|
||
### Single file deployment | ||
|
||
Simply download the `docker-compose.yml` file from this repository and put it | ||
in a directory. The directory name is used by `docker-compose` as the `project` | ||
name, so use something descriptive and unique, like `mist.io`. | ||
|
||
|
||
### Development deployment | ||
|
||
Clone this git repo and all its submodules with something like: | ||
|
||
git clone --recursive https://github.com/mistio/mist.io.git | ||
cd mist.io | ||
|
||
This may take some time. | ||
|
||
This setup will mount the checked out code into the containers. By cloning the | ||
directory, now there's also a `docker-compose.override.yml` file in the current | ||
directory in addition to `docker-compose.yml` and is used to modify the | ||
configuration for development mode. | ||
|
||
|
||
## Running mist.io | ||
|
||
Switch to the directory containing the `docker-compose.yml` file and run | ||
|
||
docker-compose up -d | ||
|
||
This will start all the mist.io docker containers in the background. | ||
|
||
To create a user for the first time, first run | ||
|
||
docker-compose exec api sh | ||
|
||
This should drop you in a shell into one of the mist.io containers. In there, | ||
run | ||
|
||
./bin/adduser --admin --docker-cloud [email protected] | ||
|
||
Replace the email address with yours. Try running `./bin/adduser -h` for more | ||
options. | ||
|
||
Visit http://localhost and login with the email and password specified above. | ||
|
||
Welcome to mist.io! Enjoy! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Docker compose overrides for running mist.io in dev mode. This mounts local | ||
# code in the running containers, defines some extra containers needed for | ||
# development, etc. This is not a standalone file. It extends | ||
# docker-compose.yml and requires a local recursive clone of the mist.io git | ||
# repository. | ||
|
||
version: '2.0' | ||
|
||
services: | ||
|
||
|
||
elasticsearch: | ||
ports: | ||
- 9200:9200 | ||
|
||
logstash: | ||
volumes: | ||
- ./docker/logstash/config:/config-dir:rw | ||
|
||
kibana: | ||
ports: | ||
- 5601:5601 | ||
|
||
elasticsearch-manage: | ||
image: mist/elasticsearch-manage:$MIST_TAG | ||
volumes: | ||
- ./docker/elasticsearch-manage:/opt/elasticsearch-manage | ||
|
||
|
||
debugger: | ||
image: mist/debugger | ||
volumes: | ||
- ./keys:/keys | ||
|
||
|
||
celery: &backend | ||
image: mist/mist:io-$MIST_TAG | ||
volumes: | ||
- ./api:/mist.api:rw | ||
- ./keys:/keys | ||
- ./elasticsearch:/elasticsearch | ||
scheduler: *backend | ||
poller: *backend | ||
hubshell: *backend | ||
api: *backend | ||
sockjs: *backend | ||
|
||
|
||
ui: | ||
image: mist/ui:io-$MIST_TAG | ||
volumes: | ||
- ./ui:/ui:rw | ||
|
||
landing: | ||
image: mist/landing:io-$MIST_TAG | ||
volumes: | ||
- ./landing:/landing:rw | ||
|
||
|
||
nginx: | ||
volumes: | ||
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf:rw |
Oops, something went wrong.