forked from mtgred/netrunner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (60 loc) · 1.3 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: '2'
services:
npm-install:
image: netrunner-node
volumes:
- .:/netrunner
command: |
sh -c "npm install
./node_modules/.bin/bower --allow-root install"
fetch-cards:
image: netrunner-node
volumes:
- .:/netrunner
links:
- mongo
environment:
OPENSHIFT_MONGODB_DB_HOST: mongo
command: npm run fetch
mongo:
image: mongo:latest
ports:
- 27017:27017
volumes:
- /tmp/netrunner/mongo-data:/data/db
lein-cljs:
image: clojure:latest
volumes:
- .:/netrunner
command: |
sh -c "cd /netrunner
lein cljsbuild auto dev"
lein-netrunner:
image: clojure:latest
volumes:
- .:/netrunner
ports:
- 7001:7001
environment:
ZMQ_HOST: "*"
command: |
sh -c "cd /netrunner
lein run"
stylus-css:
image: netrunner-node
volumes:
- .:/netrunner
command: ./node_modules/.bin/stylus -w src/css -o resources/public/css/
coffee-server:
image: netrunner-node
volumes:
- .:/netrunner
ports:
- 1042:1042
links:
- mongo
- lein-netrunner
environment:
MONGO_URL: mongodb://mongo:27017/netrunner
CLOJURE_HOST: lein-netrunner
command: ./node_modules/.bin/coffee server.coffee