feta:优化流畅度
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# App
|
||||
APP_ENV=dev
|
||||
API_HOST=0.0.0.0
|
||||
API_PORT=8000
|
||||
API_PORT=8030
|
||||
DEBUG=true
|
||||
|
||||
# Database
|
||||
|
||||
@@ -7,6 +7,6 @@ RUN pip install --no-cache-dir .
|
||||
|
||||
COPY app ./app
|
||||
|
||||
EXPOSE 8000
|
||||
EXPOSE 8030
|
||||
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8030"]
|
||||
|
||||
@@ -6,7 +6,7 @@ class Settings(BaseSettings):
|
||||
# App
|
||||
app_env: str = "dev"
|
||||
api_host: str = "0.0.0.0"
|
||||
api_port: int = 8000
|
||||
api_port: int = 8030
|
||||
debug: bool = True
|
||||
|
||||
# Database
|
||||
|
||||
Reference in New Issue
Block a user