It doesn't make much sense that by default we use one server on production on two servers on preproduction. Note we're keeping `server1` instead of using just `server` in order to keep compatibility with existing installation.
19 lines
358 B
Plaintext
19 lines
358 B
Plaintext
staging:
|
|
deploy_to: "/home/deploy/consul"
|
|
ssh_port: "21"
|
|
server: "staging.consul.es"
|
|
user: "deploy"
|
|
|
|
preproduction:
|
|
deploy_to: "/home/deploy/consul"
|
|
ssh_port: "2222"
|
|
server1: xxx.xxx.xxx.xxx
|
|
user: "deploy"
|
|
|
|
production:
|
|
deploy_to: "/home/deploy/consul"
|
|
ssh_port: "22"
|
|
server1: xxx.xxx.xxx.xxx
|
|
server2: xxx.xxx.xxx.xxx
|
|
user: "deploy"
|