mirror of
https://github.com/meysamhadeli/booking-microservices.git
synced 2026-04-14 12:48:34 +08:00
Merge pull request #173 from meysamhadeli/develop
chore: Update flight service
This commit is contained in:
commit
9b703f071f
@ -164,21 +164,21 @@ services:
|
||||
# Postgres
|
||||
######################################################
|
||||
postgres:
|
||||
image: postgres:latest
|
||||
container_name: postgres
|
||||
restart: on-failure
|
||||
ports:
|
||||
- '5432:5432'
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
networks:
|
||||
- booking
|
||||
image: postgres:latest
|
||||
container_name: postgres
|
||||
restart: on-failure
|
||||
ports:
|
||||
- '5432:5432'
|
||||
environment:
|
||||
- POSTGRES_USER=postgres
|
||||
- POSTGRES_PASSWORD=postgres
|
||||
networks:
|
||||
- booking
|
||||
|
||||
|
||||
#######################################################
|
||||
# Rabbitmq
|
||||
#######################################################
|
||||
#######################################################
|
||||
# Rabbitmq
|
||||
#######################################################
|
||||
rabbitmq:
|
||||
container_name: rabbitmq
|
||||
image: rabbitmq:3-management
|
||||
@ -283,15 +283,11 @@ services:
|
||||
- booking
|
||||
|
||||
|
||||
|
||||
networks:
|
||||
booking:
|
||||
name: booking
|
||||
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
external: false
|
||||
elasticsearch-data:
|
||||
|
||||
|
||||
|
||||
@ -1,9 +1,9 @@
|
||||
version: "3.3"
|
||||
services:
|
||||
|
||||
#######################################################
|
||||
# Rabbitmq
|
||||
#######################################################
|
||||
# #######################################################
|
||||
# # Rabbitmq
|
||||
# #######################################################
|
||||
rabbitmq:
|
||||
container_name: rabbitmq
|
||||
image: rabbitmq:3-management
|
||||
@ -95,7 +95,7 @@ services:
|
||||
#######################################################
|
||||
elasticsearch:
|
||||
container_name: elasticsearch
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.9.2
|
||||
image: docker.elastic.co/elasticsearch/elasticsearch:7.17.9
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 9200:9200
|
||||
@ -114,7 +114,7 @@ services:
|
||||
#######################################################
|
||||
kibana:
|
||||
container_name: kibana
|
||||
image: docker.elastic.co/kibana/kibana:7.9.2
|
||||
image: docker.elastic.co/kibana/kibana:7.17.9
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 5601:5601
|
||||
@ -145,8 +145,6 @@ networks:
|
||||
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
external: false
|
||||
elasticsearch-data:
|
||||
|
||||
|
||||
|
||||
@ -21,7 +21,6 @@ var app = builder.Build();
|
||||
app.MapMinimalEndpoints();
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
app.UseHttpsRedirection();
|
||||
app.UseInfrastructure();
|
||||
|
||||
app.Run();
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "swagger",
|
||||
"applicationUrl": "https://localhost:5003;http://localhost:5004",
|
||||
"applicationUrl": "https://localhost:5003",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user