Installing platforms
A platform is a well defined pack with installed dependencies for a language orframework that a group of applications will need.
Platforms are defined as Dockerfiles and tsuru already have a number of supported ones listed bellow:
- Go
- Java
- Nodejs
- php
- Python
- Ruby
- Static
These platforms don’t come pre-installed in tsuru, you have to add them to yourserver using the platform-add command intsuru.
For example, to install the Python platform from tsuru’s platforms repositoryyou simply have to call:
- tsuru platform-add python
If your application is not currently supported by the platforms above,you can create a new platform. See creating a platformfor more information.
Attention
If you have more than one Docker node, you may use docker-registry to add and distribute yourplatforms among your Docker nodes.
You can use the official docker registry or install it by yourself. To do thisyou should first have to install docker-registry in any server you have. It shouldhave a public ip to communicate with your docker nodes.
Then you should add registry address to tsuru.conf.