-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
56 lines (50 loc) · 954 Bytes
/
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
version: "3.9"
services:
ccss_resources_db:
image: postgres:12-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 1234
POSTGRES_DB: ccss_resources
volumes:
- ccss_resources_data:/var/lib/postgresql/data
networks:
- app
rabbitmq:
image: 'rabbitmq'
ports:
- '5672:5672'
networks:
- app
ccss_resources:
build:
context: .
dockerfile: ./docker/Dockerfile.dev
volumes:
- .:/code
ports:
- "8001:8000"
depends_on:
- ccss_resources_db
- ccss_resources_jobs
- rabbitmq
networks:
- app
ccss_resources_jobs:
build:
context: .
dockerfile: ./docker/Dockerfile
volumes:
- .:/code
ports:
- "8002:8000"
depends_on:
- ccss_resources_db
- rabbitmq
networks:
- app
volumes:
ccss_resources_data:
networks:
app:
driver: bridge