-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
90 lines (76 loc) · 2.44 KB
/
.env.example
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
# This file is key="value" pairs
# Only effect on first run, if you want to apply changes,
# you need to stop the containers and remove the volumes.
# Mode: "DNS" or "IP"
# DNS: Use DNS to resolve the domain name
# IP: Use IP to resolve the domain name
# Default: IP
# Note: If you change this value
# Consider re-install the III DevOps Community to prevent unexpected errors.
MODE=""
BASE_DIR="" # Leave it blank if you want to use the default value
TEMPLATES_DIR="${BASE_DIR}/templates"
REDIS_CONF="${BASE_DIR}/generate/redis.conf"
REDMINE_CONF="${BASE_DIR}/generate/redmine-configuration.yml"
REDMINE_SQL="${BASE_DIR}/generate/redmine.sql"
III_ENV="${BASE_DIR}/generate/HEAD.env"
# DNS mode
DOMAIN_BASE="" # The base domain name, e.g. example.com
# The conjunction between the subdomain and the base domain name, e.g. - or .
DOMAIN_CONJUNCTION="."
DOMAIN_GITLAB="gitlab${DOMAIN_CONJUNCTION}${DOMAIN_BASE}"
DOMAIN_REDMINE="redmine${DOMAIN_CONJUNCTION}${DOMAIN_BASE}"
DOMAIN_SONARQUBE="sonarqube${DOMAIN_CONJUNCTION}${DOMAIN_BASE}"
DOMAIN_UI="${DOMAIN_BASE}"
URL_GITLAB="https://${DOMAIN_GITLAB}"
URL_REDMINE="https://${DOMAIN_REDMINE}"
URL_SONARQUBE="https://${DOMAIN_SONARQUBE}"
URL_UI="https://${DOMAIN_UI}"
# IP Mode
IP_ADDRESS="" # The IP address of the server
# Port list
PORT_GITLAB="32080"
PORT_REDMINE="32748"
PORT_SONARQUBE="31910"
PORT_III_DATABASE="31403"
PORT_III_API="10009"
PORT_III_UI="80"
PORT_MINIO="9000"
PORT_MINIO_CONSOLE="9001"
# Tokens
REDMINE_API_KEY=""
SONARQUBE_ADMIN_TOKEN=""
GITLAB_INIT_TOKEN=""
GITLAB_REGISTRATOR_TOKEN=""
# Old values
GITLAB_ROOT_PASSWORD="{{PASSWORD}}"
GITLAB_PORT="32080"
SQ_DB_PASSWORD=""
SQ_AM_PASSWORD="{{PASSWORD}}"
SQ_PORT="31910"
REDMINE_DB_PASSWORD=""
REDMINE_PORT="32748"
MINIO_ACCESS_KEY="{{PASSWORD}}"
MINIO_SECRET_KEY="{{PASSWORD}}"
MINIO_PORT="9000"
MINIO_CONSOLE_PORT="9001"
III_DB_PORT="31403"
III_DB_PASSWORD=""
III_REDIS_PASSWORD=""
III_SECRET_KEY=""
III_PORT="10009"
III_ADMIN_LOGIN="{{III_ADMIN_LOGIN}}"
III_ADMIN_EMAIL="{{III_ADMIN_EMAIL}}"
III_ADMIN_PASSWORD="{{PASSWORD}}"
IP_ADDR="{{IP_ADDR}}"
GITLAB_URL="http://$IP_ADDR:$GITLAB_PORT"
SQ_URL="http://$IP_ADDR:$SQ_PORT"
REDMINE_URL="http://$IP_ADDR:$REDMINE_PORT"
MINIO_URL="http://$IP_ADDR:$MINIO_PORT"
# For rootless docker
# Get it via: echo "${XDG_RUNTIME_DIR}/docker.sock"
# Value: /run/user/1000/docker.sock
# See: https://docs.docker.com/engine/security/rootless/
# Rootful docker
# Value: /var/run/docker.sock
DOCKER_SOCKET=""