-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildout-development.cfg
62 lines (45 loc) · 1.4 KB
/
buildout-development.cfg
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
###############################################################################################
# Main buildout file to install and configure LAMP and Wordpress.
# You can use this for local development or as productive buildout example.
###############################################################################################
[buildout]
extends =
buildouts/adduser.cfg
buildouts/mysql.cfg
buildouts/apachephpfcgi.cfg
buildouts/wordpress.cfg
buildouts/crontab.cfg
buildouts/logrotate.cfg
parts -=
# disable part: activate apache vhost config
vhost-install
# disable part: autostart supervisor/mysql on reboot
crontab_reboot
# disable part: link logrotate config
logrotate-install
#parts += userdata
[userdata]
name = testuser4
group = testuser4
mysql_database = ${userdata:name}
mysql_user = root
mysql_pwd = password
salt = zs}0qPwtOb*axzGS
apache_user_name = www-data
servername = localhost
serveralias = localhost
serveradmin = [email protected]
ssl_cert = ${buildout:directory}/etc/${userdata:servername}.pem
[ports]
mysql = 7003
supervisor = 7010
[install-paths]
vhosts = /etc/apache2/sites-available
vhosts_enabled = /etc/apache2/sites-enabled
logrotate = /etc/logrotate.d
[binaries]
mysql= /usr/bin
php = /usr/bin
php_modules = /usr/lib/php5/20090626+lfs
[wordpress_download_url]
url = http://static.wordpress-deutschland.org/de-edition/wordpress_321-de.zip