File tree Expand file tree Collapse file tree 3 files changed +7
-63
lines changed Expand file tree Collapse file tree 3 files changed +7
-63
lines changed Original file line number Diff line number Diff line change @@ -2,31 +2,31 @@ FROM ubuntu:16.04
22
33RUN apt-get update && \
44 apt-get install -y software-properties-common && \
5- add-apt-repository ppa:fkrull/deadsnakes && \
65 apt-get update && \
76 apt-get -y upgrade && \
8- apt-get install -y python3.5 python3-venv libpq-dev libhdf5-serial-dev \
9- libnetcdf-dev supervisor libpython3-dev supervisor \
10- nginx npm nodejs && \
7+ apt-get install -y python3-venv libpq-dev supervisor libpython3-dev \
8+ git nginx npm nodejs && \
119 apt-get clean && \
1210 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
1311 useradd --create-home --shell /bin/bash cesium
1412
15- RUN python3.5 -m venv /cesium_env && \
13+ RUN python3 -m venv /cesium_env && \
1614 \
1715 bash -c "source /cesium_env/bin/activate && \
1816 pip install --upgrade pip && \
1917 pip install --upgrade pip"
2018
21- ENV PIP_FIND_LINKS http://wheels.scikit-image.org
2219ADD . /cesium
2320WORKDIR /cesium
2421
22+ ENV LC_ALL=C.UTF-8
23+ ENV LANG=C.UTF-8
24+
2525RUN bash -c "source /cesium_env/bin/activate && \
26+ ln -s /usr/bin/nodejs /usr/bin/node && \
2627 make paths && \
2728 make dependencies && \
2829 cp docker/cesium-docker.yaml . && \
29- ln -s /usr/bin/nodejs /usr/bin/node && \
3030 chown -R cesium.cesium /cesium_env && \
3131 chown -R cesium.cesium /cesium"
3232
@@ -38,4 +38,3 @@ CMD bash -c "source /cesium_env/bin/activate && \
3838 (make log &) && \
3939 PYTHONPATH=. python -c \" from cesium_app.models import create_tables as c; c()\" && \
4040 make run"
41-
Original file line number Diff line number Diff line change 33 # characters. Typically ``os.urandom(24)`` is
44 # good enough.
55
6- authentication:
7- # The Stormpath API keys can be downloaded from:
8- # https://api.stormpath.com
9-
10- stormpath_api_key_id: 01234
11- stormpath_api_key_secret: 0124
12- stormpath_application: cesium
13-
14- ## This section is optional. If not filled in, Google Authentication
15- ## will be disabled.
16- ##
17- ## These values can be obtained from
18- ## https://console.developers.google.com/project
19- ##
20- ## When filling in the form for running on localhost:
21- ##
22- ## - Appliation type: Web
23- ## - Authorized JavaScript origins: blank
24- ## - Authorized redirect URIs: http://localhost:5000/google
25- ## http://your.hosted.server.com
26- ##
27- ## Always include the localhost:5000 for unit testing purposes.
28-
29- google_client_id:
30- google_client_secret:
31-
326paths:
337 # Note below that defined variables can be reused in subsequent
348 # definitions.
@@ -51,20 +25,5 @@ database:
5125 user: cesium
5226 password:
5327
54- docker:
55- enabled: 0
56-
5728server:
5829 url: http://localhost:5000
59-
60- xr_engine: netcdf4
61- ##xr_engine: h5netcdf
62-
63- ## testing:
64- ## ## Disable authentication
65- ## disable_auth: 1
66- ##
67- ## ## Use a separate test database
68- ## test_db: 1
69- ##
70- ## debug: 0
Original file line number Diff line number Diff line change 44 - " 9000:5000"
55 links :
66 - db
7- - rabbit
87 volumes :
98 - .:/home/cesium_app
10- environment :
11- - CELERY_BROKER=amqp://guest:guest@rabbit:5672//
12- # depends_on:
13- # - db
14- # - rabbit
159
1610db :
1711 image : cesium/postgres
18- # volumes:
19- # - ./_postgres_data:/var/lib/postgresql/data/
2012 environment :
2113 - POSTGRES_USER=cesium
2214 - POSTGRES_PASSWORD=
2315 - POSTGRES_DB=cesium
24- # - PGDATA=/var/lib/postgresql/data/pgdata
25-
26- rabbit :
27- image : rabbitmq:3
28- ports :
29- - " 5672:5672"
You can’t perform that action at this time.
0 commit comments