Compare commits
3
Commits
2b0c96286a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2ac845ddb | ||
|
|
1147ec319f | ||
|
|
d67509a0ff |
+24
-5
@@ -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
|
||||||
@@ -24,14 +24,14 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- listhub_backend_data:/app
|
- listhub_data:/app
|
||||||
|
|
||||||
listhub_frontend:
|
listhub_frontend:
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
args:
|
|
||||||
VITE_API_URL: http://localhost:8080/api/v1
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
VITE_API_URL: http://localhost:8080/api/v1
|
||||||
depends_on:
|
depends_on:
|
||||||
- listhub_backend
|
- listhub_backend
|
||||||
ports:
|
ports:
|
||||||
@@ -39,7 +39,26 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- listhub_frontend_data:/app
|
- 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:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
listhub_backend_data:
|
listhub_data:
|
||||||
listhub_frontend_data:
|
listhub_frontend_data:
|
||||||
Generated
+6
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "docker",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user