-
Notifications
You must be signed in to change notification settings - Fork 845
/
docker-compose-externalDB.yml
52 lines (47 loc) · 1.36 KB
/
docker-compose-externalDB.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
#SPDX-License-Identifier: MIT
version: '3'
services:
redis:
image: "redis:alpine"
ports:
- 6379:6379
rabbitmq:
image: augur-rabbitmq
build:
context: .
dockerfile: ./docker/rabbitmq/Dockerfile
# ports for amqp connections / management api
ports:
- 5671:5671
- 5672:5672
- 15671:15671
- 15672:15672
environment:
- "RABBIT_MQ_DEFAULT_USER=${AUGUR_RABBITMQ_USERNAME:-augur}"
- "RABBIT_MQ_DEFAULT_PASSWORD=${AUGUR_RABBITMQ_PASSWORD:-password123}"
augur:
image: augurlabs/augur-new:latest
build:
context: .
dockerfile: ./docker/backend/Dockerfile
volumes:
- facade:/augur/facade
restart: unless-stopped
ports:
- 5002:5000
extra_hosts:
- "host.docker.internal:host-gateway" #Be able to ping services on the local machine
environment:
- "AUGUR_DB=${AUGUR_DB}"
- "AUGUR_DB_SCHEMA_BUILD=0"
- "AUGUR_GITHUB_API_KEY=${AUGUR_GITHUB_API_KEY}"
- "AUGUR_GITLAB_API_KEY=${AUGUR_GITLAB_API_KEY}"
- "AUGUR_GITHUB_USERNAME=${AUGUR_GITHUB_USERNAME}"
- "AUGUR_GITLAB_USERNAME=${AUGUR_GITLAB_USERNAME}"
- REDIS_CONN_STRING=redis://redis:6379
- RABBITMQ_CONN_STRING=amqp://${AUGUR_RABBITMQ_USERNAME:-augur}:${AUGUR_RABBITMQ_PASSWORD:-password123}@rabbitmq:5672/augur_vhost
depends_on:
- redis
volumes:
facade:
driver: local