-
Notifications
You must be signed in to change notification settings - Fork 6
/
hosts.yaml
40 lines (35 loc) · 1.18 KB
/
hosts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# The Base section sets the defaults for all stages. Common values:
# - repository: URL of the repo, using `https://`, or `git@` protocol,
# - default_branch: default branch to deploy
.base: &base
repository: https://github.com/bolt/project.git
default_branch: main
# For each stage, use a unique key (used as "Host"), and list:
# <<: *base: Sets all values from `.base` as defaults. Override if needed
# - hostname: IP-address or hostname to SSH into
# - user: SSH username. Ideally set up as passwordless login
# - port: SSH port number. Specify, if the server doesn't have SSH on the default port 22
# - deploy_path: Base path to deploy in
# - stage: name of the stage. Used in `dep deploy [stagename]`
test:
<<: *base
stage: test
hostname: knutsel.tech
user: pi
deploy_path: /home/pi/www/knutsel.tech/deployer
vhost_symlink: ../public
acc:
<<: *base
stage: acc
hostname: web01.example.org
user: username
port: 8899
deploy_path: /var/www/acc.example.org/deployer
vhost_symlink: ~
prod:
<<: *base
stage: prod
hostname: web02.example.org
user: username
deploy_path: /var/www/example.org/deployer
vhost_symlink: ~