-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
106 lines (95 loc) · 2.85 KB
/
docker-compose.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
version: '3.9'
services:
timescaledb:
image: timescale/timescaledb:2.6.0-pg14
container_name: timescaledb
ports:
- 5432:5432
restart: unless-stopped
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
volumes:
- timescaledb-data:/var/lib/postgresql/data
promscale:
container_name: promscale
image: timescale/promscale:0.10.0
ports:
- 9201:9201
restart: unless-stopped
depends_on:
- timescaledb
environment:
PROMSCALE_DB_CONNECT_RETRIES: 10
PROMSCALE_WEB_TELEMETRY_PATH: /metrics
PROMSCALE_DB_URI: postgres://postgres:password@timescaledb:5432/postgres?sslmode=allow
prometheus:
container_name: prometheus
image: prom/prometheus:v2.33.5
restart: unless-stopped
ports:
- 9090:9090
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.retention.time=12h"
volumes:
- prometheus-data:/prometheus
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro
node_exporter:
container_name: node_exporter
image: prom/node-exporter:v1.3.1
restart: unless-stopped
ports:
- 9100:9100
grafana:
container_name: grafana
image: grafana/grafana:8.4.3
restart: unless-stopped
ports:
- 3000:3000
volumes:
- grafana-data:/var/lib/grafana
wildfly:
container_name: wildfly1
image: jboss/wildfly:25.0.0.Final
restart: unless-stopped
ports:
- "8080:8080"
- "9990:9990"
command: "/opt/jboss/wildfly/bin/standalone.sh --server-config=standalone-microprofile.xml -bmanagement=0.0.0.0 -b 0.0.0.0"
volumes:
- ./deploy1:/opt/jboss/wildfly/standalone/deployments
wildfly2:
container_name: wildfly2
image: jboss/wildfly:25.0.0.Final
restart: unless-stopped
ports:
- "18080:8080"
- "19990:9990"
command: "/opt/jboss/wildfly/bin/standalone.sh --server-config=standalone-microprofile.xml -bmanagement=0.0.0.0 -b 0.0.0.0"
volumes:
- ./deploy2:/opt/jboss/wildfly/standalone/deployments
wildfly3:
container_name: wildfly3
image: jboss/wildfly:25.0.0.Final
restart: unless-stopped
ports:
- "28080:8080"
- "29990:9990"
command: "/opt/jboss/wildfly/bin/standalone.sh --server-config=standalone-microprofile.xml -bmanagement=0.0.0.0 -b 0.0.0.0"
volumes:
- ./deploy3:/opt/jboss/wildfly/standalone/deployments
wildfly4:
container_name: wildfly4
image: jboss/wildfly:25.0.0.Final
restart: unless-stopped
ports:
- "38080:8080"
- "39990:9990"
command: "/opt/jboss/wildfly/bin/standalone.sh --server-config=standalone-microprofile.xml -bmanagement=0.0.0.0 -b 0.0.0.0"
volumes:
- ./deploy4:/opt/jboss/wildfly/standalone/deployments
volumes:
timescaledb-data:
prometheus-data:
grafana-data: