Files
grecia/config/deploy-secrets.yml.example
Juan Salvador Pérez García 1db5a00eae Prepare capistrano/db migrations to support more setups (#2)
The following parameters have been added to deploy-secrets.yml:

* **use_rvm**: yes/no
* **ruby_version**: Ruby version for rvm. Defaults to 2.3.2
* **repository**: Git repository. Defaults to the oficial repository
* **branch**: Branch to deploy. Defaults to master
* **rails_env**: Defaults to the stage.

Fixed migrations that required admin rights. Now first check if the postgress extensions are available. If so finish without doing nothin.

Added support for passenger.
2018-07-17 17:46:54 +02:00

34 lines
749 B
Plaintext

staging:
deploy_to: "/var/www/consul"
ssh_port: 21
server: "staging.consul.es"
db_server: "postgre.consul.es"
user: "xxxxx"
server_name: "staging.consul.es"
full_app_name: "consul"
# use_rvm: Yes
# ruby_version: 2.3.7
# repository: https://github.com/consul/consul.git
# branch: master
# rails_env: staging
preproduction:
deploy_to: "/var/www/consul"
ssh_port: 2222
server1: xxx.xxx.xxx.xxx
server2: xxx.xxx.xxx.xxx
db_server: xxx.xxx.xxx.xxx
user: xxxxx
server_name: pre.consul.es
full_app_name: "consul"
production:
deploy_to: "/var/www/consul"
ssh_port: 22
server1: xxx.xxx.xxx.xxx
server2: xxx.xxx.xxx.xxx
db_server: xxx.xxx.xxx.xxx
user: "deploy"
server_name: "consul.es"
full_app_name: "consul"