From 7f50942c86a22c3cac64ccafef6f927bbc0416bc Mon Sep 17 00:00:00 2001 From: Andrey Melnik Date: Mon, 29 Aug 2016 23:57:09 +0300 Subject: [PATCH] Added docker-compose --- docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..d1dfaf1 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,14 @@ +rethinkdb: + image: rethinkdb + ports: + - "28015:28015" + - "8080:8080" +horizon: + image: rethinkdb/horizon + command: su -s /bin/sh horizon -c "hz serve --connect rethinkdb:28015 --bind all /usr/app" + volumes: + - ./:/usr/app + links: + - rethinkdb + ports: + - "8181:8181" \ No newline at end of file