forked from lurumad/IdentityServer4.Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 857 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 857 Bytes
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
identityserver:
build: .
dockerfile: docker-identityserver.dockerfile
container_name: identityserver
environment:
- ASPNETCORE_ENVIRONMENT=Development
ports:
- "5000:5000"
api:
build: .
dockerfile: docker-api.dockerfile
container_name: api
environment:
- ASPNETCORE_ENVIRONMENT=Development
- MVCAndAPISample_IdentityServer__Authority=http://localhost:5000
ports:
- "5001:5001"
links:
- identityserver:localhost
client:
build: .
dockerfile: docker-client.dockerfile
container_name: client
environment:
- ASPNETCORE_ENVIRONMENT=Development
- MVCAndAPISample_IdentityServer__Authority=http://localhost:5000
- MVCAndAPISample_Api__BaseAddress=http://api:5001
ports:
- "5002:5002"
links:
- identityserver:localhost
- api