forked from fabric8-analytics/fabric8-analytics-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.devel.yml
61 lines (61 loc) · 2.21 KB
/
docker-compose.devel.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
# NOTE: Containers use the generic "coreapi" prefix so they're independent of
# the particular project name. Project specific images are always built
# locally when using the docker-compose file.
#
# The services are all configured with "network_mode: bridge" to work around
# name lookup problems with docker, docker-compose and the use of a local DNS
# resolver on the host: https://bugzilla.redhat.com/show_bug.cgi?id=1258350
version: "2"
services:
pgbouncer:
build:
context: fabric8-analytics-pgbouncer/
dockerfile: Dockerfile
postgres:
build:
context: postgres-docker/
dockerfile: Dockerfile
server:
build:
context: fabric8-analytics-server/
dockerfile: Dockerfile
volumes:
- ./fabric8-analytics-worker/f8a_worker:/usr/lib/python3.4/site-packages/f8a_worker:ro,z
- ./fabric8-analytics-server/bayesian:/usr/lib/python3.4/site-packages/bayesian:ro,z
- ./fabric8-analytics-server/coreapi-httpd.conf:/etc/httpd/conf.d/coreapi-httpd.conf:ro,z
jobs:
build:
context: fabric8-analytics-jobs/
dockerfile: Dockerfile
volumes:
- ./fabric8-analytics-worker/f8a_worker:/usr/lib/python3.4/site-packages/f8a_worker:ro,z
- ./fabric8-analytics-jobs/f8a_jobs:/usr/lib/python3.4/site-packages/f8a_jobs:ro,z
- ./fabric8-analytics-jobs/f8a-jobs.py:/usr/bin/f8a-jobs.py:ro,z
worker-api: &worker
build:
context: fabric8-analytics-worker/
dockerfile: Dockerfile
volumes:
- ./fabric8-analytics-worker/f8a_worker:/usr/lib/python3.4/site-packages/f8a_worker:ro,z
- ./fabric8-analytics-worker/hack/workers.sh:/usr/bin/workers.sh:ro,z
worker-ingestion:
<<: *worker
worker-priority:
<<: *worker
worker-db-migrations:
build:
context: fabric8-analytics-worker/
dockerfile: Dockerfile
volumes:
- ./fabric8-analytics-worker/alembic:/alembic/alembic:ro,z
data-model-importer:
build:
context: fabric8-analytics-data-model/
dockerfile: Dockerfile.data-model
volumes:
- ./fabric8-analytics-data-model/src:/src:ro,z
minio-s3:
# Uncomment this if you want to have S3 data persistent
#volumes:
# - ./hack/s3:/export:rw,z
# - ./hack/s3:/root/.mini:rw,z