-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsitetool.conf.sample
86 lines (65 loc) · 1.99 KB
/
sitetool.conf.sample
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
settings:
#backup.target: "backup:main"
#backup.selector: "*:main"
files.exclude:
- "*~"
- ".project"
- ".pydevproject"
- ".git/"
- "/env/"
- "__pycache__/"
- "*.pyc"
- "*.egg-info/"
#db.exclude: None
sites:
# Definition of backup storage
backup:
envs:
# By default, backup storage is named 'backup:main'
main:
backup_storage: True
files: !!python/object:sitetool.files.local.LocalFiles
path: "~/sitetool/backup/"
# Other backup stores (optional)
#external:
# backup_storage: True
# files: !!python/object:sitetool.files.local.LocalFiles
# path: "/media/external/sitetool/backup/"
#remote:
# backup_storage: True
# files: !!python/object:sitetool.files.ssh.SSHFiles
# path: "/tmp/sitetoolbackup/"
# host: localhost
# User documents folder, sitetool can be used for backup purposes
documents:
envs:
prod:
files: !!python/object:sitetool.files.local.LocalFiles
path: "~/Documents"
# An example website
testjoomla1:
settings:
files.exclude: ["/.git", "/.project"]
db.exclude: []
envs:
# Development environment
dev:
url: "http://localhost:8080/"
# Access fiels through a SSH connection
files: !!python/object:sitetool.files.ssh.SSHFiles
host: 172.22.0.3 # localhost
user: root
password: test
port: 2222
path: "/var/www/html"
exclude: ["/README.txt", "/LICENSE.txt", "/tmp/*"]
readonly: [".htaccess"]
# Enables joomla actions on the site (eg. show Joomla version and extensions)
joomla: !!python/object:sitetool.joomla.joomla.JoomlaSite
url: http://localhost:8080
username: admin
password: test
# Temporary environment in /tmp (files only)
tmp:
files: !!python/object:sitetool.files.local.LocalFiles
path: "/tmp/testjoomla1/"