forked from Autodesk/cloud-compute-cannon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev-server.yml
65 lines (58 loc) · 1.41 KB
/
docker-compose.dev-server.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
version: '2'
services:
compute:
extends:
file: docker-compose.core.yml
service: compute
image: "quay.io/bionano/cloud-compute-cannon:a44300d2"
command: ["nodemon", "-w", "server", "-w", "/app/config/ccc.yml", "server/cloud-compute-cannon-server.js"]
volumes:
- ./build/server:/app/server
- ./:/app/config
environment:
LOG_LEVEL: "${LOG_LEVEL}"
CONFIG_PATH: "/app/config/ccc.yml"
links:
- redis
- registry
- fluentd
logging:
driver: json-file
redis:
extends:
file: docker-compose.core.yml
service: redis
volumes:
- ./etc/redis/redis-dev.conf:/usr/local/etc/redis/redis.conf
ports:
#Don't expose this port to the host, only linked containers.
- "6379:6379"
registry:
extends:
file: docker-compose.core.yml
service: registry
environment:
SETTINGS_FLAVOR: local
REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY: /var/lib/registry
logging:
driver: none
fluentd:
build: ./etc/log/
volumes:
- ./etc/log/fluent.dev.conf:/fluentd/etc/fluent.conf
links:
- elasticsearch
logging:
driver: json-file
elasticsearch:
extends:
file: docker-compose.core.yml
service: elasticsearch
logging:
driver: none
kibana:
extends:
file: docker-compose.core.yml
service: kibana
links:
- elasticsearch