forked from dionjwa/molecular-simulation-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
77 lines (73 loc) · 2.18 KB
/
docker-compose.override.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
68
69
70
71
72
73
74
75
76
77
version: '2'
services:
server:
build:
context: .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./server/public:/app/server/public
- ./server/bin:/app/server/bin
- ./server/constants:/app/server/constants
- ./server/etc:/app/server/etc
- ./server/main:/app/server/main
- ./server/routes:/app/server/routes
- ./server/views:/app/server/views
- ./server/test:/app/server/test
- ./server/utils:/app/server/utils
- ./shared:/app/shared
- ./tmp:/tmp
# Uncomment this if you want to do client development
# - ./client/dist:/app/client/dist
command: ["nodemon", "-e", "js,json,www", "-w", "./", "-w", "./bin/www", "bin/www"]
environment:
CCC: "ccc:9000"
NODE_ENV: "development"
FRONTEND_URL: "http://localhost:4000"
URL: "http://localhost:4000"
REDIS_HOST: "redis"
FLUENT_PORT: '24224'
BLUEBIRD_DEBUG: '1'
FLUENT: '1'
links:
- redis
- ccc
- fluentd
redis:
restart: always
image: redis:3.2.0-alpine
command: redis-server /usr/local/etc/redis/redis.conf
ports:
#Don't expose this port to the host, only linked containers.
- "6379"
logging:
driver: "none"
volumes:
- ./server/etc/redis/redis.conf:/usr/local/etc/redis/redis.conf
ccc:
image: "quay.io/bionano/cloud-compute-cannon:08ef0106"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./ccc_local_storage:/app/ccc_local_storage
ports:
- "9000:9000"
environment:
PORT: "9000"
#This is used to get the correct host working directory to pass into the
#worker containers to map the local file system to /inputs+/outputs within
#the container. Only used for local docker providers (not cloud)
HOST_PWD: "$PWD"
#Sets the max log level (bunyan where 10=trace 40=warn)
LOG_LEVEL: "40"
STORAGE_HTTP_PREFIX: 'http://localhost:9000/'
REMOVE_JOBS_ON_STARTUP: 'true'
DISABLE_STARTUP_TEST: 'true'
ENABLE_FLUENT: 'true'
links:
- redis
- fluentd
fluentd:
image: "fluent/fluentd"
ports:
- "24224"
logging:
driver: "none"