-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
executable file
·59 lines (52 loc) · 1.57 KB
/
.env.example
File metadata and controls
executable file
·59 lines (52 loc) · 1.57 KB
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
###########################################################
###################### Docker ENV ######################
###########################################################
RUN_ENV=production
NETWORKS_DRIVER=bridge
VOLUME_DRIVER=local
LOCAL_CODE_PATH=./
LOCAL_DOCKER_PATH=./
CONTAINER_CODE_PATH=/var/www
APP_RUN_PUID=1000
APP_RUN_PGID=1000
APP_RUN_NAME=crcms
APP_RUN_GROUP=crcms
TIMEZONE=Asia/Shanghai
### workspace ################################################
WORKSPACE_INSTALL_SWOOLE=true
WORKSPACE_INSTALL_MONGODB=false
WORKSPACE_INSTALL_REDIS=true
WORKSPACE_INSTALL_NPM=false
WORKSPACE_INSTALL_CRONTAB=true
WORKSPACE_INSTALL_SUPERVISOR=true
WORKSPACE_SWOOLE_PORT=28080
WORKSPACE_DATA=/data
WORKSPACE_CONFIG=/config
# Open later
WORKSPACE_SSH_PORT=22
### nginx ################################################
NGINX_HTTP_PORT=80
NGINX_SSL_PORT=443
NGINX_CONFIG=/config
### php-fpm ################################################
PHP_FPM_INSTALL_MONGODB=false
PHP_FPM_INSTALL_REDIS=true
PHP_FPM_PORT=9000
PHP_FPM_CONFIG=/config
### consul ################################################
CONSUL_CONFIG=/config
CONSUL_DATA=/data
### mongo ################################################
MONGO_CONFIG=/config
MONGO_PORT=27017
### mysql ################################################
MYSQL_PORT=3306
# master and slave root password
MYSQL_ROOT_PASSWORD=root
MYSQL_SLAVE_PORT=3307
MYSQL_SLAVE_DELAY=0
MYSQL_REPLICATION_USER=binlog_user
MYSQL_REPLICATION_PASSWORD=binlog_password
### only stack ################################################
DEPLOY_REPLICAS=2
DEPLOY_UPDATE_PARALLELISM=1