Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uwazi 1.4 is out #36

Merged
merged 3 commits into from
Nov 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 \
&& echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.6 main" | tee /etc/apt/sources.list.d/mongodb-org-3.6.list \
&& apt-get update \
&& apt-get install -y mongodb-org-shell mongodb-org-tools
&& apt-get install -y mongodb-org-shell mongodb-org-tools \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow. very great move here!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that's just good practice. Got that from an introductory course I recently made


## Download Uwazi v1.3
RUN git clone -b v1.3 --single-branch --depth=1 https://github.com/huridocs/uwazi.git /home/node/uwazi/ \
## Download Uwazi v1.4
RUN git clone -b v1.4 --single-branch --depth=1 https://github.com/huridocs/uwazi.git /home/node/uwazi/ \
&& chown node:node -R /home/node/uwazi/ \
&& cd /home/node/uwazi/ \
&& yarn install \
Expand Down
11 changes: 6 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ services:
hard: -1
volumes:
- elasticsearch_data1:/usr/share/elasticsearch/data
# TODO: close these ports (fititnt, 2018-04-14 10:22 BRT)
ports:
- 9200:9200
# Close these ports. No unprotected elasticsearch should be published.
# ports:
# - 9200:9200

# dejavu "The Missing Web UI for Elasticsearch"
# See https://github.com/appbaseio/dejavu
Expand All @@ -57,8 +57,9 @@ services:
# - ./data/mongo:/data/db
- mongodb_data1:/data/db
command: mongod --smallfiles
ports:
- 27017:27017
# Don't publish unprotected mongod
# ports:
# - 27017:27017
logging:
options:
max-size: 10m
Expand Down