-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (44 loc) · 979 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (44 loc) · 979 Bytes
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
version: '3'
services:
iris-postgres:
image: postgres:latest
ports:
- "5432:5432"
environment:
- DEBUG=false
- POSTGRES_USER=postgres
- POSTGRESS_PASSWORD=postgres
- POSTGRES_DB=gplay
volumes:
- gplay-postgres-data:/var/lib/postgresql/data
- ./schema.sql:/docker-entrypoint-initdb.d/schema.sql
networks:
- irisnet
iris-rabbitmq:
image: rabbitmq:3-management
hostname: my-rabbit
ports:
- "4369:4369"
- "5671:5671"
- "5672:5672"
- "25672:25672"
- "15672:15672"
volumes:
- gplay-rabbitmq-data:/var/lib/rabbitmq
networks:
- irisnet
iris-gplay-crawler:
build:
context: ./images/gplaycrawler
image: iris/gplaycrawler
environment:
- POSTGRES_HOST=iris-postgres
- RABBITMQ_HOST=iris-rabbitmq
networks:
- irisnet
volumes:
gplay-postgres-data:
gplay-rabbitmq-data:
networks:
irisnet:
driver: bridge