mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-06-30 10:33:43 +00:00
feat: Add missing env variables
This commit is contained in:
parent
f7bf339907
commit
23e790d7e6
@ -6,15 +6,21 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- 80:80
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_started
|
||||
redis:
|
||||
condition: service_started
|
||||
rabbitmq:
|
||||
condition: service_healthy
|
||||
links:
|
||||
- db
|
||||
environment:
|
||||
- ASPNETCORE_HTTP_PORTS=80
|
||||
- Kestrel__Endpoints__Http__Url=http://+:80
|
||||
- Kestrel__Endpoints__Grpc__Url=http://+:8080
|
||||
- Kestrel__Endpoints__Grpc__Protocols=Http2
|
||||
- ConnectionStrings__DefaultConnection=Server=db;Database=clean-architecture;Trusted_Connection=False;MultipleActiveResultSets=true;TrustServerCertificate=True;User Id=SA;Password=Password123!#
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "--fail", "http://localhost/healthz"]
|
||||
|
@ -35,5 +35,11 @@ spec:
|
||||
env:
|
||||
- name: ASPNETCORE_HTTP_PORTS
|
||||
value: 80
|
||||
- name: Kestrel__Endpoints__Http__Url
|
||||
value: http://+:80
|
||||
- name: Kestrel__Endpoints__Grpc__Url
|
||||
value: http://+:8080
|
||||
- name: Kestrel__Endpoints__Grpc__Protocols
|
||||
value: Http2
|
||||
- name: ConnectionStrings__DefaultConnection
|
||||
value: Server=sql-server;Database=clean-architecture;Trusted_Connection=False;MultipleActiveResultSets=true;TrustServerCertificate=True;User Id=SA;Password=Password123!#
|
Loading…
Reference in New Issue
Block a user