
* 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>
16 lines
625 B
YAML
16 lines
625 B
YAML
version: '3.3'
|
|
services:
|
|
backend:
|
|
environment:
|
|
- JUPYTER=jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.custom_display_url=http://127.0.0.1:8888
|
|
- SERVER_HOST=http://${DOMAIN}
|
|
celeryworker:
|
|
environment:
|
|
- RUN=celery worker -A app.worker -l info -Q main-queue -c 1
|
|
- JUPYTER=jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.custom_display_url=http://127.0.0.1:8888
|
|
- SERVER_HOST=http://${DOMAIN}
|
|
backend-tests:
|
|
environment:
|
|
- JUPYTER=jupyter lab --ip=0.0.0.0 --allow-root --NotebookApp.custom_display_url=http://127.0.0.1:8888
|
|
- SERVER_HOST=http://${DOMAIN}
|