-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathunitapi.yaml
More file actions
38 lines (36 loc) · 815 Bytes
/
unitapi.yaml
File metadata and controls
38 lines (36 loc) · 815 Bytes
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
version: 1.1.0
install:
- {ssh.local} {project.path} {cmd.mysql.restore_from_test}
- {ssh.test} {project.path} {cmd.mysql.backup}
- {ssh.live} {project.path} {cmd.mysql.backup}
xampp:
path: "c:/xampp"
ssh:
type: 'docker_name'
credentials:
db:
type: 'mysql'
credentials: "keepass.file"
backup: {ssh.local} \ {xampp.path} \ backup.bat
restore: {ssh.local} \ {local.path} \ restore.bat
docker:
path:
html: "c:/"
ssh:
type: 'docker_name'
credentials:
db:
type: 'mysql'
credentials: "keepass.file"
backup: {ssh.local} {local.path} backup.sh
restore: {ssh.local} {local.path} backup.sh
-
test:
path: "/"
ssh: 'ssh credentials'
live:
path: "var/www"
ssh: 'ssh credentials'
backup:
path: "var/www"
ssh: 'ssh credentials'