mirror of https://github.com/abpframework/abp
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.
36 lines
1.3 KiB
36 lines
1.3 KiB
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: product-service
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: product-service
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: product-service
|
|
spec:
|
|
containers:
|
|
- name: product-service
|
|
image: "volosoft/microservice-demo-product-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__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
|
|
ports:
|
|
- name: http
|
|
containerPort: 80 |