Files
full-stack-fastapi-template/{{cookiecutter.project_slug}}/docker-compose.test.yml
Stephen Brown II 79631c7619 Use Pydantic BaseSettings for config settings (#87)
* 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>
2020-04-17 07:56:10 +02:00

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=