-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathenv-example
More file actions
74 lines (52 loc) · 2.41 KB
/
env-example
File metadata and controls
74 lines (52 loc) · 2.41 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
### Paths ############################################################################
# Root path for the hole project; example: "/puti", "./puti", "~/puti", "./"
PUTI_ROOT=/puti
### Drivers ###########################################################################
# All volumes driver
VOLUMES_DRIVER=local
# All Networks driver
NETWORKS_DRIVER=bridge
### WORKSPACE #########################################################################
WORKSPACE_TIMEZONE=Asia/Shanghai
#######################################################################################
### PUTI #############################################################################
PUTI_NAME=puti
PUTI_VERSION=latest
PUTI_HTTP_PORT=8000
PUTI_HTTPS_PORT=8080
PUTI_HTTP_PORT_OUT=8000
PUTI_HTTPS_PORT_OUT=8080
# Path for Puti logs; PUTI_ROOT will be added in front of it in the docker-compose file
PUTI_LOG_PATH=/logs/puti
# Path for Puti data; PUTI_ROOT will be added in front of it in the docker-compose file
PUTI_DATA_PATH=/data/puti
#######################################################################################
### MYSQL #############################################################################
MYSQL_NAME=puti-db
MYSQL_VERSION=8.0
MYSQL_DATABASE=db_puti
MYSQL_USER=putiroot
MYSQL_PASSWORD=puti123456
MYSQL_PORT=3306
MYSQL_ROOT_PASSWORD=123456
# Path for mysql logs; PUTI_ROOT will be added in front of it in the docker-compose file
MYSQL_LOG_PATH=/logs/mysql
# Path for mysql data; PUTI_ROOT will be added in front of it in the docker-compose file
MYSQL_DATA_PATH=/data/mysql
# If the MYSQL_DATA_PATH is empty, the container will init the database using these sql file
MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
#######################################################################################
### NGINX #############################################################################
NGINX_NAME=puti-nginx
NGINX_VERSION=stable-alpine
NGINX_HOST_HTTP_PORT=80
NGINX_HOST_HTTPS_PORT=443
NGINX_HTTP_PORT=80
NGINX_HTTPS_PORT=443
# Path for nginx logs; PUTI_ROOT will be added in front of it in the docker-compose file
NGINX_LOG_PATH=/logs/nginx
# Path for nginx data; PUTI_ROOT will be added in front of it in the docker-compose file
NGINX_CERT_PATH=/data/nginx/certs/
NGINX_CONF_PATH=/data/nginx/config/nginx.conf
NGINX_CONFD_PATH=/data/nginx/config/conf.d
#######################################################################################