-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildout-local.cfg
100 lines (95 loc) · 2.73 KB
/
buildout-local.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
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
##################################################################
#
# buildout config for local customization
#
##################################################################
[downloads]
# as jdk is really hard to download automatically,
# we need download it manually and store it on local network.
java = http://10.77.8.118:8080/java/jdk-8u73-linux-x64.gz
[users]
parsoid = ubuntu
mariadb = ubuntu
php-fpm = ubuntu
nginx = ubuntu
elasticsearch = ubuntu
[ports]
supervisord = 9020
mariadb = 9025
parsoid = 9030
php-fpm = 9035
elasticsearch-http = 9200
[hosts]
# mariadb binding ip
mariadb-ip = 10.160.192.88
# PHP-FPM
php-fpm = 10.160.192.88
parsoid = 10.160.192.44
# nginx web server
frontend-ip = 10.160.192.88
frontend-hostname = dev.vault.leocorn.com
[settings]
# using absolute path instead of ${buildout:directory} here
# to make sure all other parts have the same value.
base-folder = /usr/rd/leocornus.buildout.boilerplate
# the sys folder will mainly include all in one supervisor
# config file
sys-folder = ${:base-folder}/sys
#########################
# pathes for MariaDB database
mariadb-folder = ${:base-folder}/mariadb
mariadb-build-location = ${:mariadb-folder}/parts/mariadb-build
############################
# pathes for PHP
php-folder = ${:base-folder}/php
php-build-location = ${:php-folder}/parts/php-build
#########################
#
# pathes and settings for Nginx
#
nginx-folder = ${:base-folder}/nginx
nginx-build-location = ${:nginx-folder}/parts/nginx-build
# include servers.
nginx-includes =
include ${:app-phpinfo-folder}/etc/nginx.conf;
include ${:app-wpmw-folder}/etc/nginx.conf;
include ${:app-plone3-folder}/etc/nginx.conf;
#########################
#
# pathes for Nodejs
nodejs-folder = ${:base-folder}/nodejs
#########################
#
# pathes for Java
java-folder = ${:base-folder}/java
##########################
#
# overwrite the common directories, defined in config/base.cfg
#
# directory for log files, using the centralized location.
#
log-directory = ${:sys-folder}/var/log
# directory for configuration files, decentralism strategy.
etc-directory = ${buildout:directory}/etc
##############################################
#
# we use decentralism strategy for buildout config for different
# software component, document root folder for Web Server
# should be setup by applications.
# We only list default value here.
#document-root = ${buildout:directory}/var/www
###########################
#
# folder for the simple PHP application info.
#
app-phpinfo-folder = ${:base-folder}/app-phpinfo
###########################
#
# folder for the php application wpmw.
#
app-wpmw-folder = ${:base-folder}/app-wpmw
###########################
#
# folder for the legacy Plone3 sites.
#
app-plone3-folder = ${:base-folder}/app-plone3