-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (74 loc) · 1.71 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: "3"
services:
broker:
image: rabbitmq
command: [
"rabbitmq-server",
"--hostname", "broker",
"--name" , "broker"
]
database:
image: mongo:3.0
volumes:
- "./docker-volumes/database:/data/db"
provision:
build:
context: .
dockerfile: Dockerfile.common
args:
MAKE_PARALLELISM: "${MAKE_PARALLELISM}"
depends_on:
- database
- web
links:
- database
- web
environment:
- "GIRDER_HOST=web"
- "GIRDER_PORT=8080"
- "GIRDER_ADMIN_NAME=${GIRDER_ADMIN_NAME}"
- "GIRDER_ADMIN_PASS=${GIRDER_ADMIN_PASS}"
- "GIRDER_GRIDFS_DB_NAME=local"
- "GIRDER_GRIDFS_DB_HOST=database"
- "GIRDER_USER_NAME=${GIRDER_USER_NAME}"
- "GIRDER_USER_PASS=${GIRDER_USER_PASS}"
- "GIRDER_BROKER=amqp://guest@broker"
command: [
"--provision",
"girder_geospatial",
"large_image",
"resonantgeoview_server",
"geoviz_server"
]
web:
build:
context: .
dockerfile: Dockerfile.common
args:
MAKE_PARALLELISM: "${MAKE_PARALLELISM}"
ports:
- "8080:8080"
links:
- database
volumes:
- "./docker-volumes/local-assetstore:/local-assetstore"
- "./etc/girder.local.cfg:/girder/girder/conf/girder.local.cfg"
command: ["--web"]
# worker:
# build:
# context: .
# dockerfile: Dockerfile.common
# args:
# MAKE_PARALLELISM: "${MAKE_PARALLELISM}"
# volumes:
# - "/tmp:/tmp"
# depends_on:
# - broker
# links:
# - broker
# environment:
# - "BROKER=amqp://guest@broker"
# command: [
# "--worker",
# "--loglevel", "INFO"
# ]