-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (47 loc) · 1.35 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
48
49
50
51
services:
contentplatform-api:
image: ${DOCKER_REGISTRY-}contentplatform-api
container_name: ContentPlatform.Api
build:
context: .
dockerfile: ContentPlatform.Api/Dockerfile
ports:
- "5000:8080"
- "5001:8081"
contentplatform-reporting-api:
image: ${DOCKER_REGISTRY-}contentplatform-reporting-api
container_name: ContentPlatform.Reporting.Api
build:
context: .
dockerfile: ContentPlatform.Reporting.Api/Dockerfile
ports:
- "6000:8080"
- "6001:8081"
contentplatform-presentation:
image: contentplatform-ui:latest
container_name: ContentPlatform.Presentation
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "3000:80"
contentplatform-db:
image: postgres:latest
container_name: ContentPlatform.Db
environment:
- POSTGRES_DB=contentplatform
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./.containers/db:/var/lib/postgresql/data
ports:
- 5432:5432
contentplatform-mq:
image: rabbitmq:management
container_name: ContentPlatform.RabbitMq
hostname: contentplatform-mq
volumes:
- ./.containers/queue/data/:/var/lib/rabbitmq
- ./.containers/queue/log/:/var/log/rabbitmq
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest