From 50c87514a4ee4a4ac104a778d1fd5cb35f1b0987 Mon Sep 17 00:00:00 2001 From: Daniel Strong Date: Sat, 4 Mar 2017 01:33:57 +0000 Subject: [PATCH] Improve service names --- compose.sh | 5 +++-- docker-compose.yml | 14 +++++++------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/compose.sh b/compose.sh index 4f91b90561..71119a5f37 100755 --- a/compose.sh +++ b/compose.sh @@ -26,7 +26,8 @@ if [[ -n ${BUILD} ]]; then fi docker-compose up npm-install +docker-compose up -d mongo -docker-compose up npm +docker-compose up fetch-cards -docker-compose up netrunner coffee stylus lein +docker-compose up lein-netrunner coffee-server stylus-css lein-cljs diff --git a/docker-compose.yml b/docker-compose.yml index 0ab7373c0b..2d077a64e9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: sh -c "npm install ./node_modules/.bin/bower --allow-root install" - fetch: + fetch-cards: image: netrunner-node volumes: - .:/netrunner @@ -26,7 +26,7 @@ services: volumes: - /tmp/netrunner/mongo-data:/data/db - lein: + lein-cljs: image: clojure:latest volumes: - .:/netrunner @@ -34,7 +34,7 @@ services: sh -c "cd /netrunner lein cljsbuild auto dev" - netrunner: + lein-netrunner: image: clojure:latest volumes: - .:/netrunner @@ -46,13 +46,13 @@ services: sh -c "cd /netrunner lein run" - stylus: + stylus-css: image: netrunner-node volumes: - .:/netrunner command: ./node_modules/.bin/stylus -w src/css -o resources/public/css/ - coffee: + coffee-server: image: netrunner-node volumes: - .:/netrunner @@ -60,8 +60,8 @@ services: - 1042:1042 links: - mongo - - netrunner + - lein-netrunner environment: MONGO_URL: mongodb://mongo:27017/netrunner - CLOJURE_HOST: netrunner + CLOJURE_HOST: lein-netrunner command: ./node_modules/.bin/coffee server.coffee