-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
65 lines (59 loc) · 1.57 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
59
60
61
62
63
version: '3.4'
networks:
internal:
services:
rabbit:
command:
- rabbitmq-server
container_name: rabbitmq
hostname: rabbit
image: rabbitmq:3-management
ports:
- 8080:15672/tcp
- 5672:5672/tcp
networks:
- internal
saphub.apiendpoint:
image: ${DOCKER_REGISTRY-}saphubapiendpoint
hostname: saphubapi
build:
context: .
dockerfile: src/SAPHub.ApiEndpoint/Dockerfile
environment:
- SAPHUB_BUS__TYPE=rabbitmq
- SAPHUB_BUS__CONNECTIONSTRING=amqp://guest:guest@rabbit
- SAPHUB_ENDPOINTS__default=http://localhost
- SAPHUB_ENDPOINTS__api=http://saphubapi
- SAPHUB_ENDPOINTS__ui=http://localhost:5000
ports:
- 5001:80
depends_on:
- rabbit
networks:
- internal
saphub.ui:
image: ${DOCKER_REGISTRY-}saphubui
hostname: saphubui
build:
context: .
dockerfile: src/SAPHub.UI/Dockerfile
networks:
- internal
environment:
- SAPHUB_ENDPOINTS__default=http://localhost
- SAPHUB_ENDPOINTS__api=http://localhost:5001
- SAPHUB_ENDPOINTS__ui=http://saphubui
# ports:
# - 5000:80 currently UI module is not working in container, start standalone after container
saphub.sapconnector:
image: ${DOCKER_REGISTRY-}saphubsapconnector
build:
context: .
dockerfile: src/SAPHub.SAPConnector/Dockerfile
environment:
- SAPHUB_BUS__TYPE=rabbitmq
- SAPHUB_BUS__CONNECTIONSTRING=amqp://guest:guest@localhost
- LD_LIBRARY_PATH=/app/
depends_on:
- rabbit
network_mode: host