Merge pull request 'fix' (#39) from master into prod
Reviewed-on: https://gitea.sprinthub.ru/self/queues/pulls/39
This commit was merged in pull request #39.
This commit is contained in:
@@ -10,8 +10,6 @@ services:
|
|||||||
MONGO_HOST: "mongo.sprinthub.ru"
|
MONGO_HOST: "mongo.sprinthub.ru"
|
||||||
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
|
MONGO_PASSWORD: $MONGO_PASSWORD_PROD
|
||||||
STAGE: "production"
|
STAGE: "production"
|
||||||
ports:
|
|
||||||
- 1239:1239
|
|
||||||
deploy:
|
deploy:
|
||||||
mode: replicated
|
mode: replicated
|
||||||
restart_policy:
|
restart_policy:
|
||||||
|
|||||||
@@ -9,6 +9,5 @@ RUN pip install -r requirements.txt
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
EXPOSE 1239
|
|
||||||
|
|
||||||
ENTRYPOINT ["fastapi", "run", "main.py", "--port", "1239"]
|
ENTRYPOINT ["python", "main.py"]
|
||||||
|
|||||||
Reference in New Issue
Block a user