-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.env.example.node
75 lines (55 loc) · 2.38 KB
/
.env.example.node
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
# IMPORTANT - mac : docker.for.mac.localhost OR check IP. / win : host.docker.internal OR you can just type your host IP.
HOST_IP=host.docker.internal
APP_URL=http://localhost:13000
USE_COMMERCIAL_SSL=yyy
COMMERCIAL_SSL_NAME=yyy
DOCKER_LAYER_CORRUPTION_RECOVERY=false
NGINX_RESTART=false
# The method of acquiring Docker images:
# build (Used in developer's local environment or during Jenkins builds when a new image needs to be built, so this module is typically used)
# registry (Used on deployment servers where images are fetched from a repository, so this module is used)
# If you choose the "build" method, you don't need to input the values below since Dockerfile is used (no image is fetched from the Docker registry).
GIT_IMAGE_LOAD_FROM=build
GIT_IMAGE_LOAD_FROM_HOST=xxx
GIT_IMAGE_LOAD_FROM_PATHNAME=xxx
GIT_TOKEN_IMAGE_LOAD_FROM_USERNAME=xxx
GIT_TOKEN_IMAGE_LOAD_FROM_PASSWORD=xxx
GIT_IMAGE_VERSION=1.0.0
PROJECT_NAME=node-express-boilerplate
PROJECT_LOCATION=/usr/src/node-app
PROJECT_PORT=[13000,3000]
# Example (8093,8094,11000...)
ADDITIONAL_PORTS=
# If you locate your project on ../ (upper folder)
HOST_ROOT_LOCATION=./samples/node-express-boilerplate
# If you locate your project's Dockerfile ../ (upper folder)
DOCKER_FILE_LOCATION=./samples/node-express-boilerplate
# This is for integrating health checkers such as "https://www.baeldung.com/spring-boot-actuators"
APP_HEALTH_CHECK_PATH=v1/docs
BAD_APP_HEALTH_CHECK_PATTERN=xxxxxxx
GOOD_APP_HEALTH_CHECK_PATTERN=docs
# This is for environment variables for docker-compose-app.
DOCKER_COMPOSE_ENVIRONMENT={"MONGODB_URL":"mongodb://host.docker.internal:27017/node-boilerplate","NODE_ENV":"development"}
DOCKER_BUILD_ARGS={}
DOCKER_BUILD_LABELS=["foo=happy","bar=sad"]
# EX. --platform linux/amd64
DOCKER_BUILD_ADDITIONAL_RAW_PARAMS=
DOCKER_BUILD_SHA_INSERT_GIT_ROOT=
DOCKER_COMPOSE_NGINX_SELECTIVE_VOLUMES=[]
DOCKER_COMPOSE_HOST_VOLUME_CHECK=false
DOCKER_COMPOSE_SELECTIVE_VOLUMES=[]
NGINX_CLIENT_MAX_BODY_SIZE=50M
USE_MY_OWN_APP_YML=false
SKIP_BUILDING_APP_IMAGE=false
ORCHESTRATION_TYPE=compose
ONLY_BUILDING_APP_IMAGE=false
DOCKER_BUILD_MEMORY_USAGE=1G
USE_NGINX_RESTRICTED_LOCATION=false
# ex. /docs/api-app.html
NGINX_RESTRICTED_LOCATION=xxx
REDIRECT_HTTPS_TO_HTTP=false
NGINX_LOGROTATE_FILE_NUMBER=7
NGINX_LOGROTATE_FILE_SIZE=1M
SHARED_VOLUME_GROUP_ID=1351
SHARED_VOLUME_GROUP_NAME=shared-volume-group
UIDS_BELONGING_TO_SHARED_VOLUME_GROUP_ID=