fix: align backend APIs and upload flow
This commit is contained in:
+9
-6
@@ -1,5 +1,3 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
@@ -36,10 +34,10 @@ services:
|
||||
container_name: im-mysql
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root123456
|
||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:?MYSQL_ROOT_PASSWORD is required}
|
||||
MYSQL_DATABASE: im_db
|
||||
MYSQL_USER: im
|
||||
MYSQL_PASSWORD: im123456
|
||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD:?MYSQL_PASSWORD is required}
|
||||
ports:
|
||||
- "3307:3306"
|
||||
command:
|
||||
@@ -66,8 +64,8 @@ services:
|
||||
container_name: im-rabbitmq
|
||||
restart: always
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_USER: im
|
||||
RABBITMQ_DEFAULT_PASS: im123456
|
||||
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER:?RABBITMQ_DEFAULT_USER is required}
|
||||
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS:?RABBITMQ_DEFAULT_PASS is required}
|
||||
ports:
|
||||
- "5673:5672"
|
||||
- "15673:15672"
|
||||
@@ -145,6 +143,7 @@ services:
|
||||
ASPNETCORE_ENVIRONMENT: Production
|
||||
ASPNETCORE_URLS: http://+:8080
|
||||
CONSUL_URL: http://consul:8500
|
||||
InternalApiKey: ${IM_INTERNAL_API_KEY:?IM_INTERNAL_API_KEY is required}
|
||||
networks:
|
||||
- im-net
|
||||
|
||||
@@ -173,6 +172,7 @@ services:
|
||||
ASPNETCORE_ENVIRONMENT: Production
|
||||
ASPNETCORE_URLS: http://+:8080
|
||||
CONSUL_URL: http://consul:8500
|
||||
InternalApiKey: ${IM_INTERNAL_API_KEY:?IM_INTERNAL_API_KEY is required}
|
||||
networks:
|
||||
- im-net
|
||||
|
||||
@@ -189,12 +189,15 @@ services:
|
||||
condition: service_started
|
||||
rabbitmq:
|
||||
condition: service_started
|
||||
group-service:
|
||||
condition: service_started
|
||||
ports:
|
||||
- "5005:8080"
|
||||
environment:
|
||||
ASPNETCORE_ENVIRONMENT: Production
|
||||
ASPNETCORE_URLS: http://+:8080
|
||||
CONSUL_URL: http://consul:8500
|
||||
InternalApiKey: ${IM_INTERNAL_API_KEY:?IM_INTERNAL_API_KEY is required}
|
||||
networks:
|
||||
- im-net
|
||||
|
||||
|
||||
Reference in New Issue
Block a user