-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (53 loc) · 1.25 KB
/
docker-compose.yml
File metadata and controls
53 lines (53 loc) · 1.25 KB
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
version: '3.4'
networks:
app-tier:
driver: bridge
services:
rabbitmq:
image: 'docker.io/bitnami/rabbitmq:3.8-debian-10'
ports:
- '4369:4369'
- '5672:5672'
- '25672:25672'
- '15672:15672'
volumes:
- 'rabbitmq_data:/bitnami'
networks:
- app-tier
lorawan:
image: ${DOCKER_REGISTRY-}api
build:
context: .
dockerfile: API1/Dockerfile
ports:
- "5189:80"
environment:
- ASPNETCORE_ENVIRONMENT=Docker
- ASPNETCORE_URLS=http://+
volumes:
- ~/.aspnet/https:/https:ro
networks:
- app-tier
restart: always
depends_on:
- "rabbitmq"
lorawan2:
image: ${DOCKER_REGISTRY-}api
build:
context: .
dockerfile: API1/Dockerfile
ports:
- "5191:80"
environment:
- ASPNETCORE_ENVIRONMENT=Docker
- ASPNETCORE_URLS=http://+
volumes:
- ~/.aspnet/https:/https:ro
networks:
- app-tier
restart: always
depends_on:
- "rabbitmq"
volumes:
rabbitmq_data:
driver: local