aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index a82221f..3abedce 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -14,7 +14,7 @@ services:
ports:
- "15432:5432"
- thallium:
+ thallium-backend:
build: thallium-backend
restart: unless-stopped
command: ["alembic upgrade head && uvicorn src.app:fastapi_app --host 0.0.0.0 --port 8000 --reload"]
@@ -30,3 +30,15 @@ services:
depends_on:
postgres:
condition: service_healthy
+
+ thallium-frontend:
+ build:
+ context: thallium-frontend
+ dockerfile: Dockerfile.development
+ restart: unless-stopped
+ volumes:
+ # Once https://github.com/vitejs/vite/issues/9470 has a nice solution, we can make the mount read-only
+ - ./thallium-frontend:/app
+ - /app/node_modules
+ ports:
+ - "5173:5173"