
* Use Pydantic BaseSettings for config settings * Update fastapi dep to >=0.47.0 and email_validator to email-validator * Fix deprecation warning for Pydantic >=1.0 * Properly support old-format comma separated strings for BACKEND_CORS_ORIGINS Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
18 lines
398 B
YAML
18 lines
398 B
YAML
version: '3.3'
|
|
services:
|
|
backend-tests:
|
|
build:
|
|
context: ./backend
|
|
dockerfile: tests.dockerfile
|
|
command: bash -c "while true; do sleep 1; done"
|
|
env_file:
|
|
- env-backend.env
|
|
- env-postgres.env
|
|
environment:
|
|
- SERVER_NAME=backend
|
|
- SERVER_HOST=http://${DOMAIN}
|
|
backend:
|
|
environment:
|
|
# Don't send emails during testing
|
|
- SMTP_HOST=
|