You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
# Система тестирования + общий Postgres (Postgres_TG_Bots / hr_postgres_dev). |
|
# Требуется: сеть hr_postgres_dev_net и поднятый hr_postgres_dev. |
|
# cd ../Postgres_TG_Bots && docker compose -f docker-compose.dev.yml up -d |
|
# База clinic_tests: один раз |
|
# psql "postgresql://hr_bot_user:hrbot123@localhost:5432/postgres" -c "CREATE DATABASE clinic_tests;" |
|
# |
|
# Flask UI (кабинетный стиль): http://localhost:3107 |
|
|
|
services: |
|
testing-flask: |
|
build: |
|
context: ./flask_app |
|
dockerfile: Dockerfile |
|
container_name: testing_webapp_flask |
|
environment: |
|
PORT: "3107" |
|
WEB_USE_WAITRESS: "1" |
|
FLASK_DEBUG: "0" |
|
SECRET_KEY: ${FLASK_SECRET_KEY:-testing_flask_dev_change_me} |
|
DATABASE_URL: ${DATABASE_URL:-postgresql+psycopg2://hr_bot_user:hrbot123@hr_postgres_dev:5432/clinic_tests} |
|
HR_AUTH: ${HR_AUTH:-1} |
|
HR_DATABASE_URL: ${HR_DATABASE_URL:-postgresql://hr_bot_user:hrbot123@hr_postgres_dev:5432/hr_bot_test} |
|
DEV_FIO_PASSWORD: ${DEV_FIO_PASSWORD:-} |
|
DEEPSEEK_API_KEY: ${DEEPSEEK_API_KEY:-} |
|
OPENAI_API_KEY: ${OPENAI_API_KEY:-} |
|
LLM_BASE_URL: ${LLM_BASE_URL:-} |
|
LLM_MODEL: ${LLM_MODEL:-} |
|
ports: |
|
- "3107:3107" |
|
networks: |
|
- app |
|
- postgres |
|
|
|
networks: |
|
app: |
|
postgres: |
|
name: hr_postgres_dev_net |
|
external: true
|
|
|