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/blogging-service-deployment...

37 lines
1.2 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
name: blogging-service
spec:
selector:
matchLabels:
app: blogging-service
replicas: 1
template:
metadata:
labels:
app: blogging-service
spec:
containers:
- name: blogging-service
image: "volosoft/microservice-demo-blogging-service"
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__Blogging
value: mongodb://mongodb/MsDemo_Blogging
- name: ConnectionStrings__Default
value: Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated Security=false
- name: RabbitMQ__Connections__Default__HostName
value: rabbitmq
- name: Redis__Configuration
value: redis
- name: RemoteServices__Default__BaseUrl
value: http://internal-gateway/
ports:
- name: http
containerPort: 80