forked from mtgred/netrunner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
55 lines (51 loc) · 1.38 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
version: '3.7'
services:
server:
entrypoint: lein repl :headless :host 0.0.0.0 :port 44867
ports:
- 1042:1042
- 44867:44867
volumes:
- "./data:/usr/src/app/data"
- "./dev:/usr/src/app/dev"
- "./docs:/usr/src/app/docs"
- "./resources/public:/usr/src/app/resources/public"
- "./resources/dev.edn:/usr/src/app/resources/dev.edn"
- "./resources/logback.xml:/usr/src/app/resources/logback.xml"
- "./src:/usr/src/app/src"
- "./test:/usr/src/app/test"
- "./docker/docker-prod.edn:/usr/src/app/resources/prod.edn" # Override server configs
depends_on:
- database
links:
- database:mongo
build:
dockerfile: docker/Dockerfile
context: .
database:
image: mongo
restart: always
ports:
- 27017:27017
cljs:
entrypoint: npm run cljs:watch
volumes:
- "./data:/usr/src/app/data"
- "./docs:/usr/src/app/docs"
- "./resources:/usr/src/app/resources"
- "./src:/usr/src/app/src"
- "./test:/usr/src/app/test"
- "./shadow-cljs.edn:/usr/src/app/shadow-cljs.edn"
ports:
- 9630:9630
build:
dockerfile: docker/Dockerfile
context: .
css:
entrypoint: npm run css:watch
volumes:
- "./src:/usr/src/app/src"
- "./resources:/usr/src/app/resources"
build:
dockerfile: docker/Dockerfile
context: .