-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
46 lines (43 loc) · 966 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
version: '3.4'
services:
hei.ocelot.apigateway:
image: ${DOCKER_REGISTRY-}hei-ocelot-apigateway
build:
context: .
dockerfile: Hei.Ocelot.ApiGateway/Dockerfile
environment:
ASPNETCORE_ENVIRONMENT:
depends_on:
- hei.api
- hei.identityserver
expose:
- "80"
ports:
- "5000:80"
volumes:
- /home/heidemo/config:/app/config
# test identityserver£¬you can use your own
hei.identityserver:
image: ${DOCKER_REGISTRY-}hei-ocelot-identityserver
build:
context: .
dockerfile: Hei.IdentityServer/Dockerfile
environment:
ASPNETCORE_ENVIRONMENT:
depends_on:
- hei.api
expose:
- "80"
ports:
- "5100:80"
hei.api:
image: ${DOCKER_REGISTRY-}hei-ocelot-api
build:
context: .
dockerfile: Hei.Api/Dockerfile
environment:
ASPNETCORE_ENVIRONMENT:
expose:
- "80"
ports:
- "5003:80"