summaryrefslogtreecommitdiff
path: root/res/docker
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-25 21:01:07 +0300
committerAlon Levy <alon@pobox.com>2015-04-25 21:05:19 +0300
commita834ad073afc12fc5f329741026f2bf20b43a2da (patch)
treee4ba5585a7e47c4ca859206d8bb4e3838670151a /res/docker
parentd766ecbf7a64c09e324a239493523bbda7041659 (diff)
docker changes: split neo4j and rhizi
changes: - rhizi and neo4j use separate containers, linked via docker link mechanism (environment files and shared bridge) - means debugging is faster using docker (still quicker by a little using run-local.sh / directly running python if no change to css/client) - rhizi docker now doesn't run deploy, it uses a volume from the deployment, similar to production scenario. Image still has multiple tools needed only for development (git, strace, ant, etc)
Diffstat (limited to 'res/docker')
-rw-r--r--res/docker/3rd/neo4j-fedora/Dockerfile11
-rw-r--r--res/docker/fedora/Dockerfile4
2 files changed, 12 insertions, 3 deletions
diff --git a/res/docker/3rd/neo4j-fedora/Dockerfile b/res/docker/3rd/neo4j-fedora/Dockerfile
new file mode 100644
index 00000000..c5de68c4
--- /dev/null
+++ b/res/docker/3rd/neo4j-fedora/Dockerfile
@@ -0,0 +1,11 @@
+# neo4j build for rhizi
+FROM fedora:21
+MAINTAINER Alon Levy <alon@pobox.com>
+RUN yum install -y dnf
+RUN dnf install -y lsof java
+ADD neo4j-community-2.2.1-unix.tar.gz /home/
+RUN sed -i -e's/dbms.security.auth_enabled=true/dbms.security.auth_enabled=false/' /home/neo4j-community-2.2.1/conf/neo4j-server.properties
+RUN sed -i -e's/#org.neo4j.server.webserver.address=0.0.0.0/org.neo4j.server.webserver.address=0.0.0.0/' /home/neo4j-community-2.2.1/conf/neo4j-server.properties
+#RUN cd /root/ && wget http://neo4j.com/artifact.php?name=neo4j-community-2.2.1-unix.tar.gz -Oneo4j.tar.gz
+WORKDIR /home/neo4j-community-2.2.1/bin
+ENV NEO4J_ROOT /home/neo4j-community-2.2.1
diff --git a/res/docker/fedora/Dockerfile b/res/docker/fedora/Dockerfile
index 7428f4fb..77e17a85 100644
--- a/res/docker/fedora/Dockerfile
+++ b/res/docker/fedora/Dockerfile
@@ -2,14 +2,12 @@ FROM fedora:21
MAINTAINER Alon Levy <alon@pobox.com>
RUN yum install -y dnf
# development requirements
-RUN dnf install -y wget tar lsof java git iproute make rubygem-sass ant ipython tmux strace
+RUN dnf install -y wget tar lsof git iproute make rubygem-sass ant ipython tmux strace
# runtime requirements
RUN dnf install -y python-flask net-tools python-pip python-gevent-websocket python-gevent-websocketio python-gevent-socketio
# some of these have fedora packages. some of thoes are out of date
# python-futures
RUN pip install enum futures flask-socketio
-ADD neo4j-community-2.2.1-unix.tar.gz /home/
-RUN sed -i -e's/dbms.security.auth_enabled=true/dbms.security.auth_enabled=false/' /home/neo4j-community-2.2.1/conf/neo4j-server.properties
#RUN cd /root/ && wget http://neo4j.com/artifact.php?name=neo4j-community-2.2.1-unix.tar.gz -Oneo4j.tar.gz
WORKDIR /home/rhizi
ENV NEO4J_ROOT /home/neo4j-community-2.2.1