generated from Arquisoft/wiq_0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
77 lines (71 loc) · 1.69 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
version: '3.8'
services:
db:
image: mysql:latest
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-root}
MYSQL_DATABASE: ${MYSQL_DATABASE:-wiq_es04b}
MYSQL_USER: ${MYSQL_USER:-wiq_es04b}
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-wiq_es04b}
MYSQL_PORT: ${MYSQL_PORT:-3306}
volumes:
- db_data:/var/lib/mysql
networks:
- mynetwork
restart: always
wiq_es04b:
image: ${WIQ_IMAGE:-ghcr.io/arquisoft/wiq_es04b:latest}
environment:
MYSQL_HOST: ${MYSQL_HOST}
MYSQL_DATABASE: ${MYSQL_DATABASE:-wiq_es04b}
MYSQL_USER: ${MYSQL_USER:-wiq_es04b}
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-wiq_es04b}
MYSQL_PORT: ${MYSQL_PORT:-3306}
KEYSTORE_PATH: ${KEYSTORE_PATH}
KEYSTORE_PASSWORD: ${KEYSTORE_PASSWORD}
ports:
- "443:443"
networks:
- mynetwork
depends_on:
- db
restart:
always
volumes:
- ${KEYSTORE_PATH}:/certs/keystore.p12
prometheus:
image: prom/prometheus:latest
volumes:
- prometheus_data:/prometheus
- ./prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- "9090:9090"
networks:
- mynetwork
depends_on:
- wiq_es04b
restart: always
grafana:
image: grafana/grafana:latest
volumes:
- grafana_data:/var/lib/grafana
environment:
GF_AUTH_DISABLE_LOGIN_FORM: 1
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_ROLE: "Admin"
ports:
- "3000:3000"
networks:
- mynetwork
depends_on:
- prometheus
restart: always
volumes:
db_data:
prometheus_data:
grafana_data:
networks:
mynetwork:
driver: bridge