-
Notifications
You must be signed in to change notification settings - Fork 66
/
docker-compose.yml
78 lines (74 loc) · 4.41 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
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
version: '3.7'
services:
silky.test.anotherhostdemo:
image: silkyframework/silky.test.anotherhostdemo:${TAG:-latest}
build:
context: ../../../
dockerfile: ./framework/test/AnotherHostDemo/Dockerfile
volumes:
- ./logs/anotherhost:/app/logs
environment:
DOTNET_ENVIRONMENT: ${DOTNET_ENVIRONMENT:-ContainerDev}
registrycenter__type: ${registrycenter__type:-Zookeeper}
registrycenter__connectionStrings: ${registrycenter__connectionStrings:-silky.zoo1:2181,silky.zoo2:2181,silky.zoo3:2181;silky.zoo4:2181,silky.zoo5:2181,silky.zoo6:2181}
distributedCache__redis__isEnabled: ${distributedCache__redis__isEnabled:-true}
distributedCache__redis__configuration: ${distributedCache__redis__configuration:-silky.redis,defaultDatabase=0}
skyWalking__transport__gRPC_servers: ${skyWalking__transport__gRPC_servers:-oap:11800}
networks:
- silky_service_net
silky.test.normhostdemo:
image: silkyframework/silky.test.normhostdemo:${TAG:-latest}
build:
context: ../../../
dockerfile: ./framework/test/NormHostDemo/Dockerfile
volumes:
- ./logs/normhost:/app/logs
environment:
DOTNET_ENVIRONMENT: ${DOTNET_ENVIRONMENT:-ContainerDev}
registrycenter__type: ${registrycenter__type:-Zookeeper}
registrycenter__connectionStrings: ${registrycenter__connectionStrings:-silky.zoo1:2181,silky.zoo2:2181,silky.zoo3:2181;silky.zoo4:2181,silky.zoo5:2181,silky.zoo6:2181}
distributedCache__redis__isEnabled: ${distributedCache__redis__isEnabled:-true}
distributedCache__redis__configuration: ${distributedCache__redis__configuration:-silky.redis,defaultDatabase=0}
connectionStrings__demoDbContext: ${connectionStrings__demoDbContext:-server=silky.mysql;port=3306;database=order;uid=root;pwd=qwe!P4ss;}
jwtSettings__secret: ${jwtSettings__secret:-jaoaNPA1fo1rcPfK23iNufsQKkhTy8eh}
skyWalking__transport__gRPC_servers: ${skyWalking__transport__gRPC_servers:-oap:11800}
networks:
- silky_service_net
silky.test.gatewaydemo:
image: silkyframework/silky.test.gatewaydemo:${TAG:-latest}
build:
context: ../../../
dockerfile: ./framework/test/GatewayDemo/Dockerfile
volumes:
- ./logs/gateway:/app/logs
environment:
DOTNET_ENVIRONMENT: ${DOTNET_ENVIRONMENT:-ContainerDev}
ASPNETCORE_ENVIRONMENT: ${DOTNET_ENVIRONMENT:-ContainerDev}
registrycenter__type: ${registrycenter__type:-Zookeeper}
registrycenter__connectionStrings: ${registrycenter__connectionStrings:-silky.zoo1:2181,silky.zoo2:2181,silky.zoo3:2181;silky.zoo4:2181,silky.zoo5:2181,silky.zoo6:2181}
distributedCache__redis__isEnabled: ${distributedCache__redis__isEnabled:-true}
distributedCache__redis__configuration: ${distributedCache__redis__configuration:-silky.redis,defaultDatabase=0}
jwtSettings__secret: ${jwtSettings__secret:-jaoaNPA1fo1rcPfK23iNufsQKkhTy8eh}
skyWalking__transport__gRPC_servers: ${skyWalking__transport__gRPC_servers:-oap:11800}
dashboard__displayWebApiInSwagger: ${dashboard__displayWebApiInSwagger:-false}
dashboard__useAuth: ${dashboard__useAuth:-true}
dashboard__dashboardLoginApi: ${dashboard__dashboardLoginApi:-/api/account/login}
dashboard__externalLinks__0__title: ${dashboard__externalLinks__0__title:-swagger docs}
dashboard__externalLinks__0__path: ${dashboard__externalLinks__0__path:-http://localhost}
dashboard__externalLinks__0__icon: ${dashboard__externalLinks__0__icon:-iconfont icon-swagger}
dashboard__externalLinks__1__title: ${dashboard__externalLinks__1__title:-SkyWalking}
dashboard__externalLinks__1__path: ${dashboard__externalLinks__1__path:-http://localhost:8180}
dashboard__externalLinks__2__title: ${dashboard__externalLinks__2__title:-Github}
dashboard__externalLinks__2__path: ${dashboard__externalLinks__2__path:-https://github.com/liuhll/silky}
dashboard__externalLinks__2__icon: ${dashboard__externalLinks__2__icon:-iconfont icon-github}
dashboard__externalLinks__3__title: ${dashboard__externalLinks__3__title:-Gitee}
dashboard__externalLinks__3__path: ${dashboard__externalLinks__3__path:-https://gitee.com/liuhll2/silky}
dashboard__externalLinks__3__icon: ${dashboard__externalLinks__3__icon:-iconfont icon-gitee2}
ports:
- 80:80
networks:
- silky_service_net
networks:
silky_service_net:
external:
name: silky_service_net