-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (38 loc) · 920 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (38 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
services:
intent-gate:
build: .
image: intent-gate:v0.1.0-preview.1
restart: unless-stopped
ports:
- '8080:8080'
env_file:
- .env.dev
labels:
- "autoheal=true"
autoheal:
image: willfarrell/autoheal:latest
restart: unless-stopped
environment:
- AUTOHEAL_CONTAINER_LABEL=autoheal
- AUTOHEAL_INTERVAL=5
- AUTOHEAL_START_PERIOD=0
- AUTOHEAL_DEFAULT_STOP_TIMEOUT=10
volumes:
- /var/run/docker.sock:/var/run/docker.sock
prometheus:
image: prom/prometheus
container_name: prometheus
configs:
- source: prometheus_config
target: /etc/prometheus/prometheus.yml
ports:
- "8081:9090"
configs:
prometheus_config:
content: |
global:
scrape_interval: 15s
scrape_configs:
- job_name: 'intent-gate'
static_configs:
- targets: ['intent-gate:8080']