##// END OF EJS Templates
Update config files
jespinoza -
r4:e8469ab3bca7
parent child
Show More
@@ -0,0 +1,3
1 MADROOT=/madrigal
2 EXP_DIR=/usr/local/experiments
3 MAD_PORT=8080
@@ -18,5 +18,8 instTab.txt
18 instType.txt
18 instType.txt
19 siteTab.txt
19 siteTab.txt
20 typeTab.txt
20 typeTab.txt
21 instKindatTab.txt
22 instParmTab.txt
23 parmCodes.txt
21 # experiments
24 # experiments
22 experiments/
25 experiments/
@@ -14,3 +14,4 RUN apt clean && apt update && apt install -y --no-install-recommends \
14 COPY . ./
14 COPY . ./
15
15
16 RUN ln -s /usr/local/bin/python3.7 /madrigal/bin/python && bash installMadrigal
16 RUN ln -s /usr/local/bin/python3.7 /madrigal/bin/python && bash installMadrigal
17
@@ -13,7 +13,9 services:
13 # ports:
13 # ports:
14 # - 8080:8080
14 # - 8080:8080
15 volumes:
15 volumes:
16 - './:/madrigal'
16 - '${EXP_DIR}:/madrigal/experiments'
17 - '/usr/local/madrigal/metadata:/madrigal/metadata'
18 - '/usr/local/madrigal/source/madpy/djangoMad:/madrigal/source/madpy/djangoMad'
17
19
18 nginx:
20 nginx:
19 container_name: 'madrigal-nginx'
21 container_name: 'madrigal-nginx'
@@ -22,8 +24,8 services:
22 - ./source/madpy/djangoMad/madweb/static:/static
24 - ./source/madpy/djangoMad/madweb/static:/static
23 - ./nginx:/etc/nginx/conf.d
25 - ./nginx:/etc/nginx/conf.d
24 ports:
26 ports:
25 - "8080:8080"
27 - "${MAD_PORT}:8080"
26 depends_on:
28 depends_on:
27 - web
29 - web
28 command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
30 command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
29 No newline at end of file
31
General Comments 0
You need to be logged in to leave comments. Login now