Compare commits

2 Commits
+17 -2
View File
@@ -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: