-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
81 lines (74 loc) · 1.86 KB
/
docker-compose.yml
File metadata and controls
81 lines (74 loc) · 1.86 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
version: "2.0"
services:
postgres:
container_name: identitybase-postgres
restart: unless-stopped
image: postgres:9.6.9-alpine
#ports:
# - 5432:5432
# - 5433:5433
networks:
- default
environment:
- POSTGRES_DB=identitybase
- POSTGRES_PASSWORD=dev
- POSTGRES_USER=dev
# Reverse proxy
nginx:
container_name: identitybase-nginx
restart: unless-stopped
image: openresty/openresty:alpine
ports:
- 80:80
# - 443:443
networks:
default:
aliases:
- identitybase.local
- auth.identitybase.local
- api.identitybase.local
volumes:
- ./nginx/config:/usr/local/openresty/nginx/conf
identitybase:
container_name: identitybase-authority
restart: unless-stopped
image: identitybasenet/identitybase:latest
build: ../../.
#ports:
# - 5000:5000
networks:
- default
volumes:
- ./identitybase/config:/usr/local/identitybase/config
environment:
- ASPNETCORE_ENVIRONMENT=Development
# RP1 website (dotnet core)
# http://aspnetcoreweb:21402
aspnetcoreweb:
container_name: identitybase-web
restart: unless-stopped
image: identitybasenet/aspnetcoreweb:latest
build: ../AspNetCoreWeb/.
#ports:
# - 5002:5002
networks:
- default
environment:
- APP__AUTHORITY=http://auth.identitybase.local
- APP__API1BASEADDRESS=http://aspnetcoreapi:5001
- ASPNETCORE_ENVIRONMENT=Development
# Web service (dotnet core)
aspnetcoreapi:
container_name: identitybase-api1
restart: unless-stopped
image: identitybasenet/aspnetcoreapi:latest
build: ../AspNetCoreApi/.
#ports:
# - 5001:5001
networks:
- default
environment:
- APP__AUTHORITY=http://auth.identitybase.local
- ASPNETCORE_ENVIRONMENT=Development
networks:
default: