Docker compose file for simpler dev env (#526)

* Docker compose file for simpler dev env

* Updating readme, adding UI to compose

* Define dependencies between services

* Prometheus. Grafana

* Link Prometheus to Grafana service

* Addressing review comments

* Linking compose doc to common table of content
This commit is contained in:
Denis Makogon
2017-11-28 22:31:34 +02:00
committed by Derek Schultz
parent 84382d51d3
commit 81e3c4387c
4 changed files with 82 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ If you are a developer using Fn through the API, this section is for you.
* [API Reference](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/fnproject/fn/master/docs/swagger.yml)
* [Object Model](developers/model.md)
* [FAQ](faq.md)
* [Setting up development environment with Docker compose](./operating/compose.md)
## For Operators

14
docs/operating/compose.md Normal file
View File

@@ -0,0 +1,14 @@
# Development environment deployment with Docker compose
### Deployment details
With [Docker Compose file](../../docker-compose.yml) it's easy to bootstrap the full Fn development stack that includes the following components:
- MySQL server for database
- Redis server for message queue
- Fn server with scale group (supported only for Docker Swarm)
- Fn UI
- Grafana
- Prometheus
Given compose file was developed specifically for Fn platform development/testing purpose, it's not a production-ready script. In order to get production deployment please review [Kubernetes deployment instruction](./kubernetes/README.md).