Compare commits

...
3 Commits
Author SHA1 Message Date
hamx b2ac845ddb Update docker-compose.yaml 2026-05-30 00:00:45 +02:00
hamx 1147ec319f Merge pull request 'PR: loki and grafana in backend part of docker compose' (#1) from dolozone into main
Reviewed-on: #1
2026-05-29 23:33:25 +02:00
B3rcik d67509a0ff dolozone 2026-05-25 23:25:08 +02:00
2 changed files with 30 additions and 5 deletions
+24 -5
View File
@@ -1,6 +1,6 @@
services:
db:
image: postgres
image: postgres:17
restart: unless-stopped
environment:
POSTGRES_DB: listhub
@@ -24,14 +24,14 @@ services:
ports:
- "8080:8080"
volumes:
- listhub_backend_data:/app
- listhub_data:/app
listhub_frontend:
build:
context: ./frontend
args:
VITE_API_URL: http://localhost:8080/api/v1
restart: unless-stopped
environment:
VITE_API_URL: http://localhost:8080/api/v1
depends_on:
- listhub_backend
ports:
@@ -39,7 +39,26 @@ services:
volumes:
- listhub_frontend_data:/app
loki:
image: grafana/loki:2.9.2
container_name: loki
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
restart: unless-stopped
grafana:
image: grafana/grafana:latest
container_name: grafana
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin # Hasło do pierwszego logowania
depends_on:
- loki
restart: unless-stopped
volumes:
postgres_data:
listhub_backend_data:
listhub_data:
listhub_frontend_data:
+6
View File
@@ -0,0 +1,6 @@
{
"name": "docker",
"lockfileVersion": 3,
"requires": true,
"packages": {}
}