-
Notifications
You must be signed in to change notification settings - Fork 17
/
.env
69 lines (59 loc) · 2.77 KB
/
.env
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
###################################################
########## App. Dockerization Automation ##########
###################################################
#### ---------------------------------------------
#### ---- App:Specifications ----
#### ---- (DO NOT Change unless you know results)
#### ---------------------------------------------
#APP_HOME=/home/developer/app
#APP_MAIN=setup.sh
# -- Syntax: --
#APP_RUN_CMD=python -u my-dev/<FOLDER>/__main__.py
#APP_RUN_CMD=python3 -u main.py
#### ---------------------------------
#### ---- App:Container:Host:Info ----
#### ---------------------------------
DOCKER_HOST_IP=127.0.0.1
DOCKER_HOST_NAME=localhost
#### ---------------------------------
#### ---- App:Container:Host:Info ----
#### ---------------------------------
DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
###################################################
########### Container-based Platform ##############
###################################################
#### -------------------------------------
#### ---- Docker:Build:Specifications ----
#### -------------------------------------
# BUILD_VERSION=1.0.0
USER_ID=1000
GROUP_ID=1000
INSTALL_BASE=/opt
#### -----------------------------------
#### ---- Docker:Run:Specifications ----
#### -----------------------------------
#### Ref: https://vsupalov.com/docker-arg-env-variable-guide/
#### Rider configuration for run.sh ####
# - Use "#VOLUMES" and "#PORTS" to indicate that the variables for run.sh"
# - To ignore line, use "##" (double) in the beginning, e.g. "##VOLUMES" and "##PORTS"
# - To indicate that the variables for run.sh", use only one "#", e.g. "#VOLUMES" and "#PORTS"
##PORTS_LIST="1234:1234/udp"
##PORTS_LIST="8080:8080"
#### ---- Volume Mapping Examples: ----
##VOLUMES_LIST="./data:data ./workspace:workspace"
##VOLUMES_LIST="data workspace"
##VOLUMES_LIST="app data workspace /var/run/docker.sock:/var/run/docker.sock"
##VOLUMES_LIST="/var/run/docker.sock:/var/run/docker.sock app data workspace"
##VOLUMES_LIST="/run/dbus:/host/run/dbus ./data:data app:/home/developer/app workspace:workspace "
##VOLUMES_LIST="./app:app ./data:data ./workspace:workspace"
#VOLUMES_LIST="app data workspace /dev/shm:/dev/shm /var/run/docker.sock:/var/run/docker.sock /tmp/.X11-unix:/tmp/.X11-unix"
#########################################################################
## --- TO-DO HERE: Modify the line below to open the ports mapping: -- ##
#########################################################################
#### ---- Examples in Docker port mapping automation by './run/sh': ----
#### ---- You need to change to only 1 '#' to let "./run.sh" to interpret it.
##PORTS_LIST="18080:8000 17200:7200"
##PORTS_LIST="123:123/udp"
##PORTS_LIST="12781:12781"
## -- APP:Container:Guest:Setup -- ##
# ##PORTS_LIST="7000:7000"