init
This commit is contained in:
28
compose.yaml
Normal file
28
compose.yaml
Normal 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
|
||||
Reference in New Issue
Block a user