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/public-website-gateway-depl...

46 lines
1.5 KiB

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
io.kompose.service: public-website-gateway
name: public-website-gateway
spec:
replicas: 1
strategy: {}
template:
metadata:
labels:
io.kompose.service: public-website-gateway
spec:
containers:
- env:
- name: ASPNETCORE_ENVIRONMENT
value: Development
- name: ASPNETCORE_URLS
value: http://0.0.0.0:80
- name: AuthServer__Authority
value: http://auth-server:64999
- 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://public-website-gateway
- name: ReRoutes__0__DownstreamHostAndPorts__Host
value: product-service
- name: ReRoutes__0__DownstreamHostAndPorts__Port
value: "80"
- name: ReRoutes__1__DownstreamHostAndPorts__Host
value: blogging-service
- name: ReRoutes__1__DownstreamHostAndPorts__Port
value: "80"
- name: Redis__Configuration
value: redis
image: microservice-demo/public-website-gateway:latest
name: public-website-gateway
ports:
- containerPort: 80
resources: {}
imagePullPolicy: Never
restartPolicy: Always
status: {}