Compare commits

..
1 Commits
Author SHA1 Message Date
hamx b2ac845ddb Update docker-compose.yaml 2026-05-30 00:00:45 +02:00
+17 -2
View File
@@ -1,6 +1,6 @@
services: services:
db: db:
image: postgres image: postgres:17
restart: unless-stopped restart: unless-stopped
environment: environment:
POSTGRES_DB: listhub POSTGRES_DB: listhub
@@ -12,7 +12,7 @@ services:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
listhub_backend: listhub_backend:
build: '../backend' build: ./backend
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- db - db
@@ -25,6 +25,20 @@ services:
- "8080:8080" - "8080:8080"
volumes: volumes:
- listhub_data:/app - 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: loki:
image: grafana/loki:2.9.2 image: grafana/loki:2.9.2
container_name: loki container_name: loki
@@ -47,3 +61,4 @@ services:
volumes: volumes:
postgres_data: postgres_data:
listhub_data: listhub_data:
listhub_frontend_data: