Skip to content

Commit

Permalink
Improve service names
Browse files Browse the repository at this point in the history
  • Loading branch information
strongoose committed Mar 5, 2017
1 parent 84f11f2 commit 50c8751
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
sh -c "npm install
./node_modules/.bin/bower --allow-root install"
fetch:
fetch-cards:
image: netrunner-node
volumes:
- .:/netrunner
Expand All @@ -26,15 +26,15 @@ services:
volumes:
- /tmp/netrunner/mongo-data:/data/db

lein:
lein-cljs:
image: clojure:latest
volumes:
- .:/netrunner
command: |
sh -c "cd /netrunner
lein cljsbuild auto dev"
netrunner:
lein-netrunner:
image: clojure:latest
volumes:
- .:/netrunner
Expand All @@ -46,22 +46,22 @@ 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
ports:
- 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

0 comments on commit 50c8751

Please sign in to comment.