-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
docker-compose.yml
58 lines (53 loc) · 1.29 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
52
53
54
55
56
57
58
version: '3.4'
services:
stamacasa.api:
image: ${DOCKER_REGISTRY-}stamacasa-api
build:
context: .
dockerfile: StamAcasa.Api/Dockerfile
environment:
- ASPNETCORE_URLS=http://+:80
ports:
- 5008:80
# volumes:
#- ${HOME}/.microsoft/usersecrets/:/root/.microsoft/usersecrets
#- ${HOME}/.aspnet/https:/root/.aspnet/https/
rabbitmq:
image: local_rabbit
restart: always
container_name: rabbitmq
build:
context: rabbitconfig/
dockerfile: Dockerfile
ports:
# The standard AMQP protocol port
- 5672:5672
# HTTP management UI
- 15672:15672
identityserver:
image: ${DOCKER_REGISTRY-}stamacasa-identityserver
environment:
- ASPNETCORE_URLS=http://+:80
build:
context: .
dockerfile: StamAcasa.IdentityServer/Dockerfile
ports:
- 5001:80
postgres:
image: postgres
container_name: postgres
environment:
- POSTGRES_PASSWORD=docker
- POSTGRES_USER=docker
- POSTGRES_DB=postgres
ports:
- 5432:5432
volumes:
- /postgres_data:/var/lib/postgresql/data
frontend:
image: ${DOCKER_REGISTRY-}stamacasa
build:
context: ../../frontend
dockerfile: Dockerfile
ports:
- 5002:80