Files
full-stack-fastapi-template/{{cookiecutter.project_slug}}/docker-compose.test.yml
2020-04-19 09:17:14 +02:00

17 lines
362 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
environment:
- SERVER_NAME=backend
- SERVER_HOST=http://${DOMAIN}
backend:
environment:
# Don't send emails during testing
- SMTP_HOST=