2023-03-21 15:46:33 +01:00
|
|
|
version: '3.3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
urls_controller:
|
2023-04-22 15:50:33 +02:00
|
|
|
profiles: ["onlyController", "all"]
|
2023-03-21 15:46:33 +01:00
|
|
|
image: 'pdf_aggregation_service/urls_controller:latest'
|
|
|
|
ports:
|
|
|
|
- '1880:1880'
|
|
|
|
volumes:
|
|
|
|
- type: bind
|
|
|
|
source: $HOME/tmp/config
|
|
|
|
target: /mnt/config
|
|
|
|
- type: bind
|
|
|
|
source: $HOME/tmp
|
|
|
|
target: /tmp
|
|
|
|
- type: bind
|
|
|
|
source: $HOME/logs
|
|
|
|
target: /logs
|
|
|
|
build:
|
|
|
|
dockerfile: ./Dockerfile
|
|
|
|
context: .
|
|
|
|
|
|
|
|
prometheus:
|
2023-04-22 15:50:33 +02:00
|
|
|
profiles: ["all"]
|
2023-03-21 15:46:33 +01:00
|
|
|
image: 'prom/prometheus:latest'
|
|
|
|
ports:
|
|
|
|
- '9090:9090'
|
|
|
|
command: '--config.file=/etc/prometheus/config.yml'
|
|
|
|
volumes:
|
|
|
|
- './src/main/resources/prometheus.yml:/etc/prometheus/config.yml'
|
|
|
|
depends_on:
|
|
|
|
- urls_controller
|
|
|
|
|
|
|
|
grafana:
|
2023-04-22 15:50:33 +02:00
|
|
|
profiles: ["all"]
|
2023-03-21 15:46:33 +01:00
|
|
|
image: 'grafana/grafana:latest'
|
|
|
|
ports:
|
|
|
|
- '3000:3000'
|
|
|
|
depends_on:
|
|
|
|
- urls_controller
|
|
|
|
- prometheus
|