mirror of
https://github.com/wowlikon/LiB.git
synced 2026-02-04 04:31:09 +00:00
Добавление страницы 2FA, poetry -> uv
This commit is contained in:
+4
-2
@@ -23,13 +23,15 @@ services:
|
||||
build: .
|
||||
container_name: api
|
||||
restart: unless-stopped
|
||||
command: bash -c "uvicorn library_service.main:app --host 0.0.0.0 --port 8000 --forwarded-allow-ips=\"*\""
|
||||
command: bash -c "uvicorn library_service.main:app --host 0.0.0.0 --port 8000 --forwarded-allow-ips=*"
|
||||
logging:
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
networks:
|
||||
- proxy
|
||||
ports:
|
||||
- 8000:8000
|
||||
env_file:
|
||||
- ./.env
|
||||
volumes:
|
||||
@@ -42,7 +44,7 @@ services:
|
||||
container_name: tests
|
||||
build: .
|
||||
command: bash -c "pytest tests"
|
||||
restart: unless-stopped
|
||||
restart: no
|
||||
logging:
|
||||
options:
|
||||
max-size: "10m"
|
||||
|
||||
Reference in New Issue
Block a user