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.
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: product-service
|
|
|
|
name: product-service
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
strategy: {}
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
io.kompose.service: product-service
|
|
|
|
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:51511
|
|
|
|
- name: ConnectionStrings__Default
|
|
|
|
value: Server=sqlserver;Database=MsDemo_Identity;Trusted_Connection=True;MultipleActiveResultSets=true;User=sa;Password=yourStrong(!)Password;Integrated
|
|
|
|
Security=false
|
|
|
|
- name: ConnectionStrings__ProductManagement
|
|
|
|
value: Server=sqlserver;Database=MsDemo_ProductManagement;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
|
|
|
|
image: volosoft/microservice-demo-product-service
|
|
|
|
name: product-service
|
|
|
|
ports:
|
|
|
|
- containerPort: 80
|
|
|
|
resources: {}
|
|
|
|
restartPolicy: Always
|
|
|
|
status: {}
|