Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d67509a0ff |
+20
-16
@@ -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
|
||||||
@@ -24,22 +24,26 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- listhub_backend_data:/app
|
- listhub_data:/app
|
||||||
|
loki:
|
||||||
listhub_frontend:
|
image: grafana/loki:2.9.2
|
||||||
build:
|
container_name: loki
|
||||||
context: ./frontend
|
|
||||||
args:
|
|
||||||
VITE_API_URL: http://localhost:8080/api/v1
|
|
||||||
restart: unless-stopped
|
|
||||||
depends_on:
|
|
||||||
- listhub_backend
|
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "3100:3100"
|
||||||
volumes:
|
command: -config.file=/etc/loki/local-config.yaml
|
||||||
- listhub_frontend_data:/app
|
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:
|
|
||||||
|
|||||||
Generated
+6
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"name": "docker",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user