forked from brunobritodev/JPProject.IdentityServer4.AdminUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (38 loc) · 1.32 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
version: "3"
services:
# #############################
# # Management API - Light
# #############################
jpproject-light-api:
image: jpproject-light-api
build:
context: .
dockerfile: api-light.dockerfile
environment:
ASPNETCORE_ENVIRONMENT: "Development"
ASPNETCORE_URLS: http://+
CUSTOMCONNSTR_SSOConnection: "<your conn string>"
ApplicationSettings:Authority: "<YOUR Auth server>"
ApplicationSettings:DatabaseType: SqlServer # Options: SqlServer / MySql / Sqlite / PostgreSql
ApplicationSettings:RequireHttpsMetadata: 'false'
ApplicationSettings:ApiName: jp_api
ApplicationSettings:ApiSecret: "Q&tGrEQMypEk.XxPU:%bWDZMdpZeJiyMwpLv4F7d**w9x:7KuJ#fy,E8KPHpKz++"
#############################
# Admin Ui
#############################
jpproject-admin:
image: jpproject-admin
build:
context: .
dockerfile: admin-ui.dockerfile
reverse-proxy:
container_name: jpproject-light
build:
context: .
dockerfile: nginx.dockerfile
ports:
- '5002:5002'
- '4300:4300'
depends_on:
- 'jpproject-light-api'
- 'jpproject-admin'