From b2ac845ddbffd619c20a98d4f844a4f80c684dfd Mon Sep 17 00:00:00 2001 From: Andrii Solianyk Date: Sat, 30 May 2026 00:00:45 +0200 Subject: [PATCH] Update docker-compose.yaml --- docker-compose.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 49005c9..8108b12 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,6 +1,6 @@ services: db: - image: postgres + image: postgres:17 restart: unless-stopped environment: POSTGRES_DB: listhub @@ -12,7 +12,7 @@ services: - postgres_data:/var/lib/postgresql/data listhub_backend: - build: '../backend' + build: ./backend restart: unless-stopped depends_on: - db @@ -25,6 +25,20 @@ services: - "8080:8080" volumes: - listhub_data:/app + + listhub_frontend: + build: + context: ./frontend + restart: unless-stopped + environment: + VITE_API_URL: http://localhost:8080/api/v1 + depends_on: + - listhub_backend + ports: + - "8000:8000" + volumes: + - listhub_frontend_data:/app + loki: image: grafana/loki:2.9.2 container_name: loki @@ -47,3 +61,4 @@ services: volumes: postgres_data: listhub_data: + listhub_frontend_data: \ No newline at end of file