Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
0
.env
.env
created
644
+3
0
@@
-0,0
+1,3
1
MADROOT=/madrigal
2
EXP_DIR=/usr/local/experiments
3
MAD_PORT=8080
0
.gitignore
.gitignore
+3
0
@@
-1,22
+1,25
1
1
# general
2
2
.env
3
3
.DS_store
4
4
*.pyc
5
5
*.sqlite
6
6
# config
7
7
madrigal.cfg
8
8
# metadata
9
9
siteTab.txt
10
10
expTab.txt
11
11
expTabAll.txt
12
12
fileTab.txt
13
13
fileTabAll.txt
14
14
instData.txt
15
15
instDataPriv.txt
16
16
instParmLastUpdate.txt
17
17
instTab.txt
18
18
instType.txt
19
19
siteTab.txt
20
20
typeTab.txt
21
instKindatTab.txt
22
instParmTab.txt
23
parmCodes.txt
21
24
# experiments
22
25
experiments/
0
Dockerfile
Dockerfile
+1
0
@@
-1,16
+1,17
1
1
FROM python:3.7-slim
2
2
3
3
RUN mkdir /madrigal
4
4
5
5
WORKDIR /madrigal
6
6
7
7
ADD required_modules.txt ./required_modules.txt
8
8
9
9
RUN apt clean && apt update && apt install -y --no-install-recommends \
10
10
gcc gfortran build-essential automake autotools-dev autoconf m4 libtool hdf5-tools \
11
11
&& rm -rf /var/lib/apt/lists/* \
12
12
&& pip install -r required_modules.txt && pip install django-bootstrap3
13
13
14
14
COPY . ./
15
15
16
16
RUN ln -s /usr/local/bin/python3.7 /madrigal/bin/python && bash installMadrigal
17
0
docker-compose.yml
docker-compose.yml
+5
-3
@@
-1,29
+1,31
1
1
version : '3'
2
2
3
3
services :
4
4
web :
5
5
container_name : 'madrigal'
6
6
build : .
7
7
restart : always
8
8
image : madrigal
9
9
working_dir : /madrigal/source/madpy/djangoMad
10
10
command : gunicorn djangoMad.wsgi --bind 0.0.0.0:8000
11
11
# command: python manage.py runserver 0.0.0.0:8000
12
12
env_file : .env
13
13
# ports:
14
14
# - 8080:8080
15
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
20
nginx :
19
21
container_name : 'madrigal-nginx'
20
22
image : nginx:1.15-alpine
21
23
volumes :
22
24
- ./source/madpy/djangoMad/madweb/static:/static
23
25
- ./nginx:/etc/nginx/conf.d
24
26
ports :
25
- "8080:8080"
27
- "${MAD_PORT} :8080"
26
28
depends_on :
27
29
- web
28
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
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages