forked from ansible/ansibullbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (46 loc) · 1.02 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
version: '3.3'
services:
rabbit:
hostname: rabbit
image: rabbitmq:latest
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=mypass
ports:
- "5673:5672"
networks:
ansibot_nw:
ipv4_address: 172.20.0.2
schemavalidator:
hostname: schemavalidator
image: schemavalidator
build:
context: .
dockerfile: botmeta_schema_validator/Dockerfile
links:
- rabbit
depends_on:
- rabbit
networks:
ansibot_nw:
ipv4_address: 172.20.0.4
environment:
PYTHONUNBUFFERED: 1
CELERY_BROKER_URL: pyamqp://rabbit:5672
CELERY_RESULT_BACKEND: mongodb://mongo:27017
CELERY_MONGODB_BACKEND_DATABASE: schemavalidator
CELERY_MONGODB_BACKEND_COLLECTION: results
database:
hostname: mongo
image: mongo:latest
ports:
- "27018:27017"
networks:
ansibot_nw:
ipv4_address: 172.20.0.3
networks:
ansibot_nw:
driver: bridge
ipam:
config:
- subnet: 172.20.0.0/16