forked from dionjwa/molecular-simulation-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.travis.yml
68 lines (62 loc) · 1.64 KB
/
docker-compose.travis.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
version: '2'
volumes:
redis-data:
driver: local
services:
server:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: ["node", "bin/www"]
ports:
- "4000:4000"
environment:
PORT: "4000"
build:
context: .
environment:
CCC: "ccc:9000"
NODE_ENV: "development"
FRONTEND_URL: "http://localhost:4000"
URL: "http://localhost:4000"
REDIS_HOST: "redis"
FLUENT_PORT: "24224"
FLUENT: "1"
TRAVIS: "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"
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: '0'
links:
- redis
fluentd:
image: "fluent/fluentd"
ports:
- "24224"