forked from mtgred/netrunner
-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
55 lines (49 loc) · 976 Bytes
/
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
version: '2'
services:
npm-install:
image: meccg-node
volumes:
- .:/meccg
command: |
sh -c "npm install
./node_modules/.bin/bower --allow-root install"
stylus-css:
image: meccg-node
volumes:
- .:/meccg
command: ./node_modules/.bin/stylus -w src/css -o resources/public/css/
lein-cljs:
image: clojure:latest
volumes:
- .:/meccg
ports:
- 3449:3449
command: |
sh -c "cd /meccg
lein deps
lein cljsbuild auto dev"
lein-meccg:
image: clojure:latest
volumes:
- .:/meccg
ports:
- 1042:1042
environment:
MONGODB_HOST: mongodb
ZMQ_HOST: "*"
links:
- mongodb
depends_on:
- mongodb
command: |
sh -c "cd /meccg
lein fetch
lein run dev"
mongodb:
image: mongo:latest
ports:
- 27017:27017
volumes:
- mongodata:/data/db
volumes:
mongodata: