You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/samples/MicroserviceDemo/k8s/backend-admin-app-gateway-d...

43 lines
1.5 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
name: backend-admin-app-gateway
spec:
selector:
matchLabels:
app: backend-admin-app-gateway
replicas: 1
template:
metadata:
labels:
app: backend-admin-app-gateway
spec:
containers:
- name: backend-admin-app-gateway
image: "volosoft/microservice-demo-backend-admin-app-gateway"
env:
- name: ASPNETCORE_ENVIRONMENT
value: Development
- name: ASPNETCORE_URLS
value: http://0.0.0.0:80
- name: AuthServer__Authority
value: http://auth-server:51511
- name: ConnectionStrings__Default
value: Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- name: GlobalConfiguration__BaseUrl
value: http://backend-admin-app-gateway
- name: ReRoutes__0__DownstreamHostAndPorts__0__Host
value: identity-service
- name: ReRoutes__0__DownstreamHostAndPorts__0__Port
value: "80"
- name: ReRoutes__1__DownstreamHostAndPorts__0__Host
value: product-service
- name: ReRoutes__1__DownstreamHostAndPorts__0__Port
value: "80"
- name: Redis__Configuration
value: redis
- name: RemoteServices__Default__BaseUrl
value: http://backend-admin-app-gateway/
ports:
- name: http
containerPort: 80