-
Notifications
You must be signed in to change notification settings - Fork 1
/
env-docker-public
117 lines (89 loc) · 4.01 KB
/
env-docker-public
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# Source this file first of all.
#
# Inspired by https://www.baeldung.com/linux/nginx-config-environment-variables.
# Due to the lack of conditions in Docker compose file, separate docker compose files are needed for separate environments.
export COMPOSE_FILE=docker-compose-public.yml
# --- All variables below have OD_ prefixes, to avoid clashes with other environment variable names (OD stands for Onto-DESIDE).
# In templates, use ${OD_DOLLAR} as a replacement for the normal $ sign where necessary
# (as explained in https://www.baeldung.com/linux/nginx-config-environment-variables)
export OD_DOLLAR="$"
# Filename of last sourced environment variables file
export OD_ENVVARS_FILE=env-docker-public
# Location of the parent directory of the CSS's mirrored root directories
export OD_MIRRORED_ROOTS_PARENT_DIR=$(pwd)/docker-run/data
# --- for all services XXX below:
# OD_XXX: the short name (used in other variables)
# OD_XXX_HOST_PORT: the port used in the host network
# OD_XXX_CONTAINER_PORT: the port used in the container
# OD_XXX_BASE_URL: the baseURL
# --- for some services XXX below, additional variables
# export OD_XXX: server name in the nginx config file
# export OD_XXX_IMAGE: Docker image file
# The Solid Community Servers
export OD_CSS0=css0
export OD_CSS0_HOST_PORT=3000
export OD_CSS0_CONTAINER_PORT=3000
export OD_CSS0_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS0}
export OD_CSS1=css1
export OD_CSS1_HOST_PORT=3001
export OD_CSS1_CONTAINER_PORT=3000
export OD_CSS1_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS1}
export OD_CSS2=css2
export OD_CSS2_HOST_PORT=3002
export OD_CSS2_CONTAINER_PORT=3000
export OD_CSS2_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS2}
export OD_CSS3=css3
export OD_CSS3_HOST_PORT=3003
export OD_CSS3_CONTAINER_PORT=3000
export OD_CSS3_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS3}
export OD_CSS4=css4
export OD_CSS4_HOST_PORT=3004
export OD_CSS4_CONTAINER_PORT=3000
export OD_CSS4_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS4}
export OD_CSS5=css5
export OD_CSS5_HOST_PORT=3005
export OD_CSS5_CONTAINER_PORT=3000
export OD_CSS5_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS5}
export OD_CSS6=css6
export OD_CSS6_HOST_PORT=3006
export OD_CSS6_CONTAINER_PORT=3000
export OD_CSS6_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS6}
export OD_CSS7=css7
export OD_CSS7_HOST_PORT=3007
export OD_CSS7_CONTAINER_PORT=3000
export OD_CSS7_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS7}
export OD_CSS_TEST=css-test
export OD_CSS_TEST_HOST_PORT=3999
export OD_CSS_TEST_CONTAINER_PORT=3000
export OD_CSS_TEST_BASE_URL=https://$onto-deside.ilabt.imec.be/${OD_CSS_TEST}
# The Comunica Weblient
export OD_WEBCLIENT=webclient
export OD_WEBCLIENT_HOST_PORT=8080
export OD_WEBCLIENT_CONTAINER_PORT=8080
export OD_WEBCLIENT_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_WEBCLIENT}
# Each OD_WEBCLIENT_BASE_URL needs a specific OD_WEBCLIENT_IMAGE
# see https://github.com/comunica/jQuery-Widget.js/issues/152 and https://github.com/mvanbrab/jQuery-Widget.js/
export OD_WEBCLIENT_IMAGE=mvanbrab/jquery-widget.js:v0.0.2.https-onto-deside-ilabt-imec-be-webclient
# The Generic Data Viewer
export OD_VIEWER=viewer
export OD_VIEWER_HOST_PORT=8081
export OD_VIEWER_CONTAINER_PORT=8081
export OD_VIEWER_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_VIEWER}
# Extra pods
export OD_CSS8=css8
export OD_CSS8_HOST_PORT=3008
export OD_CSS8_CONTAINER_PORT=3000
export OD_CSS8_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS8}
export OD_CSS9=css9
export OD_CSS9_HOST_PORT=3009
export OD_CSS9_CONTAINER_PORT=3000
export OD_CSS9_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS9}
export OD_CSS10=css10
export OD_CSS10_HOST_PORT=3010
export OD_CSS10_CONTAINER_PORT=3000
export OD_CSS10_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS10}
# More extra pods for evaluation scenarios (all pods in one CSS)
export OD_CSS11=css11
export OD_CSS11_HOST_PORT=3011
export OD_CSS11_CONTAINER_PORT=3000
export OD_CSS11_BASE_URL=https://onto-deside.ilabt.imec.be/${OD_CSS11}