This commit is contained in:
2024-09-08 17:58:15 +02:00
commit e062b1b0d6
10 changed files with 674 additions and 0 deletions

28
compose.yaml Normal file
View File

@@ -0,0 +1,28 @@
services:
app:
build:
context: .
dockerfile: Dockerfile
environment:
- APP_PORT=9100
ports:
- 9100:9100
app2:
build:
context: .
dockerfile: Dockerfile
environment:
- APP_PORT=9200
ports:
- 9200:9200
grafana:
image: grafana/grafana:latest
ports:
- 3000:3000
prometheus:
image: prom/prometheus:latest
command: --config.file=/etc/prometheus/prometheus.yml --enable-feature=native-histograms
ports:
- 9090:9090
volumes:
- ./volumes/prometheus/prometheus.yaml:/etc/prometheus/prometheus.yml