1
1
################################################
2
2
### environment config file ###
3
3
################################################
4
- SOURCE_DIR=./www
4
+ SOURCE_DIR=./source
5
5
6
6
############# Timezone for the containers ############
7
7
TZ=Asia/Shanghai
8
8
9
9
10
- ############# PHP Alpine Repositories ############
11
- ALPINE_REPOSITORIES=mirrors.aliyun.com
10
+ ######### Container package fetch url ###########
11
+ # Can be empty, followings or others:
12
+ # mirrors.163.com
13
+ # mirrors.aliyun.com
14
+ # mirrors.ustc.edu.cn
15
+ ##################################################
16
+ CONTAINER_PACKAGE_URL=mirrors.aliyun.com
12
17
13
18
14
19
#################### Nginx #####################
15
20
NGINX_VERSION=1.15.7-alpine
16
21
NGINX_HTTP_HOST_PORT=80
17
22
NGINX_HTTPS_HOST_PORT=443
18
- NGINX_CONFD_DIR=./conf/conf.d
19
- NGINX_CONF_FILE=./conf/nginx.conf
20
- NGINX_LOG_DIR=./log/nginx
23
+ NGINX_CONFD_DIR=./services/nginx/conf.d
24
+ NGINX_CONF_FILE=./services/nginx/nginx.conf
25
+ NGINX_SSL_CERTIFICATE_DIR=./services/nginx/ssl
26
+ NGINX_LOG_DIR=./logs/nginx
27
+ NGINX_INSTALL_APPS=certbot
21
28
22
29
#################### Openresty #####################
23
30
OPENRESTY_VERSION=alpine
24
31
OPENRESTY_HTTP_HOST_PORT=80
25
32
OPENRESTY_HTTPS_HOST_PORT=443
26
- OPENRESTY_CONFD_DIR=./conf /conf.d
27
- OPENRESTY_CONF_FILE=./conf /openresty.conf
28
- OPENRESTY_CONF_FASTCGIPARAMS_FILE=./conf /fastcgi_params
33
+ OPENRESTY_CONFD_DIR=./services/openresty /conf.d
34
+ OPENRESTY_CONF_FILE=./services/openresty /openresty.conf
35
+ OPENRESTY_CONF_FASTCGIPARAMS_FILE=./services/openresty /fastcgi_params
29
36
OPENRESTY_LOG_DIR=./log/nginx
30
37
31
38
############ PHP extensions #################
@@ -49,21 +56,22 @@ OPENRESTY_LOG_DIR=./log/nginx
49
56
#################### end ####################
50
57
51
58
52
- #################### PHP7.2 ####################
53
- PHP72_VERSION =7.2.19
54
- PHP72_PHP_CONF_FILE =./conf /php.ini
55
- PHP72_FPM_CONF_FILE =./conf /php-fpm.conf
56
- PHP72_LOG_DIR =./log/php
57
- PHP72_EXTENSIONS =pdo_mysql,mysqli,mbstring,gd,curl,opcache
59
+ #################### PHP5.6 - PHP7 ####################
60
+ PHP_VERSION =7.2.19
61
+ PHP_PHP_CONF_FILE =./services/php /php.ini
62
+ PHP_FPM_CONF_FILE =./services/php /php-fpm.conf
63
+ PHP_LOG_DIR =./log/php
64
+ PHP_EXTENSIONS =pdo_mysql,mysqli,mbstring,gd,curl,opcache
58
65
59
66
60
- #################### PHP5.6 ####################
61
- PHP56_VERSION=5.6.40
62
- PHP56_PHP_CONF_FILE=./conf /php.ini
63
- PHP56_FPM_CONF_FILE=./conf /php-fpm.conf
67
+ #################### PHP5.4 ####################
68
+ PHP56_VERSION=5.4.45
69
+ PHP56_PHP_CONF_FILE=./services/php54 /php.ini
70
+ PHP56_FPM_CONF_FILE=./services/php54 /php-fpm.conf
64
71
PHP56_LOG_DIR=./log/php
65
72
PHP56_EXTENSIONS=pdo_mysql,mysqli,mbstring,gd,curl,opcache
66
73
74
+
67
75
#################### RABBITMQ #####################
68
76
RABBITMQ_VERSION=management
69
77
RABBITMQ_HOST_PORT_C=5672
@@ -73,17 +81,19 @@ RABBITMQ_DEFAULT_PASS=mypass
73
81
74
82
#################### MONGODB #####################
75
83
MONGODB_VERSION=4.1
76
- MONGODB_DATA_DIR=./mongo
84
+ MONGODB_DATA_DIR=./data/ mongo
77
85
MONGODB_HOST_PORT=27017
78
86
MONGODB_INITDB_ROOT_USERNAME=root
79
87
MONGODB_INITDB_ROOT_PASSWORD=123456
80
88
81
89
#################### ELASTICSEARCH #####################
82
90
ELASTICSEARCH_VERSION=7.1.1
83
- ELASTICSEARCH_HOSTNAME=kibana
84
- ELASTICSEARCH_DATA_DIR =./esdata
91
+ ELASTICSEARCH_DATA_DIR=./data/esdata
92
+ ELASTICSEARCH_CONF_FILE =./services/elasticsearch/elasticsearch.yml
85
93
ELASTICSEARCH_HOST_PORT_C=9200
86
94
ELASTICSEARCH_HOST_PORT_S=9300
95
+ # Options: analysis-ik,analysis-pinyin
96
+ ELASTICSEARCH_EXTENSIONS=analysis-ik,analysis-pinyin
87
97
88
98
#################### KIBANA #####################
89
99
KIBANA_VERSION=7.1.1
@@ -95,18 +105,25 @@ LOGSTASH_HOST=5601
95
105
LOGSTASH_HOST_PORT_C=9600
96
106
LOGSTASH_HOST_PORT_S=5044
97
107
98
- #################### MySQL #####################
99
- MYSQL_VERSION=8.0.13
100
- MYSQL_HOST_PORT=3306
101
- MYSQL_ROOT_PASSWORD=123456
102
- MYSQL_DATA_DIR=./mysql
103
- MYSQL_CONF_FILE=./conf/mysql.cnf
108
+ #################### MySQL5 #####################
109
+ MYSQL5_VERSION=5.7.29
110
+ MYSQL5_HOST_PORT=3305
111
+ MYSQL5_ROOT_PASSWORD=123456
112
+ MYSQL5_DATA_DIR=./data/mysql5
113
+ MYSQL5_CONF_FILE=./services/mysql5/mysql.cnf
114
+
115
+ #################### MySQL8 #####################
116
+ MYSQL8_VERSION=8.0.13
117
+ MYSQL8_HOST_PORT=3306
118
+ MYSQL8_ROOT_PASSWORD=123456
119
+ MYSQL8_DATA_DIR=./data/mysql8
120
+ MYSQL8_CONF_FILE=./services/mysql8/mysql.cnf
104
121
105
122
106
123
#################### Redis #####################
107
124
REDIS_VERSION=5.0.3-alpine
108
125
REDIS_HOST_PORT=6379
109
- REDIS_CONF_FILE=./conf /redis.conf
126
+ REDIS_CONF_FILE=./services/redis /redis.conf
110
127
111
128
#################### Memcached #####################
112
129
MEMCACHED_VERSION=alpine
@@ -123,9 +140,3 @@ REDISMYADMIN_HOST_PORT=8081
123
140
124
141
################# AdminMongo #################
125
142
ADMINMONGO_HOST_PORT=1234
126
-
127
- #################### LOCALTIME #####################
128
- LOCALTIME_DIR=./conf/localtime
129
-
130
- #################### TIMEZONE #####################
131
- TIMEZONE_DIR=./conf/timezone
0 commit comments