diff --git a/docker-compose.yml b/docker-compose.yml index 23c5233..fe49869 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -59,6 +59,8 @@ services: - "8000" volumes: - ./backend/app:/app/app + - ./backend/alembic:/app/alembic + - ./backend/alembic.ini:/app/alembic.ini command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] logging: driver: json-file @@ -79,6 +81,8 @@ services: condition: service_healthy volumes: - ./backend/app:/app/app + - ./backend/alembic:/app/alembic + - ./backend/alembic.ini:/app/alembic.ini command: ["python", "-m", "app.workers"] logging: driver: json-file