mirror of
https://github.com/alex289/CleanArchitecture.git
synced 2025-07-01 02:52:56 +00:00
feat: Add missing env variables
This commit is contained in:
parent
f7bf339907
commit
23e790d7e6
@ -6,15 +6,21 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
- 8080:8080
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
redis:
|
||||||
|
condition: service_started
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
links:
|
links:
|
||||||
- db
|
- db
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_HTTP_PORTS=80
|
- 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!#
|
- ConnectionStrings__DefaultConnection=Server=db;Database=clean-architecture;Trusted_Connection=False;MultipleActiveResultSets=true;TrustServerCertificate=True;User Id=SA;Password=Password123!#
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "--fail", "http://localhost/healthz"]
|
test: ["CMD", "curl", "--fail", "http://localhost/healthz"]
|
||||||
|
@ -35,5 +35,11 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: ASPNETCORE_HTTP_PORTS
|
- name: ASPNETCORE_HTTP_PORTS
|
||||||
value: 80
|
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
|
- name: ConnectionStrings__DefaultConnection
|
||||||
value: Server=sql-server;Database=clean-architecture;Trusted_Connection=False;MultipleActiveResultSets=true;TrustServerCertificate=True;User Id=SA;Password=Password123!#
|
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