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
# Puma can serve each request in a thread from an internal thread pool. | |
# The `threads` method setting takes two numbers: a minimum and maximum. | |
# Any libraries that use thread pools should be configured to match | |
# the maximum value specified for Puma. Default is set to 5 threads for minimum | |
# and maximum; this matches the default thread size of Active Record. | |
# | |
threads_count = ENV.fetch('RAILS_MAX_THREADS') { 5 } | |
threads threads_count, threads_count | |
# Specifies the `port` that Puma will listen on to receive requests; default is 3000. |
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
Doc Official - http://dokku.viewdocs.io/dokku/getting-started/advanced-installation | |
Instalar o dokku | |
wget https://raw.githubusercontent.com/dokku/dokku/master/bootstrap.sh; | |
sudo DOKKU_TAG=v0.19.5 bash bootstrap.sh | |
Adicionando chave ssh | |
* Acesse o IP publico da maquina e cole seu SSH | |
Criando uma aplicação dokku dentro da maquina |