-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtx-monitor-grafana-build-extracted-compose.yml
65 lines (65 loc) · 2.08 KB
/
tx-monitor-grafana-build-extracted-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
services:
tx-monitor-grafana-build:
container_name: monitor-grafana-run
image: monitor-grafana-img
build:
dockerfile: tx-monitor-grafana-build-split-docker
target: monitor-grafana-img
args:
#BASE BUILD
- USER_UID=${USER_UID}
- USER_GID=${USER_GID}
- TX_SHARED_ENV_GROUP=${TX_SHARED_ENV_GROUP}
- TX_SHARED_GROUP_NAME=${TX_SHARED_GROUP_NAME}
- TX_SHARED_DIR=${TX_SHARED_DIR}
- TX_AGEDIR=${TX_AGEDIR}
- TX_AGEDIR_KEYS=${TX_AGEDIR_KEYS}
- TX_AGEDIR_INFO=${TX_AGEDIR_INFO}
- TX_APP_STEP_VERSION=${TX_APP_STEP_VERSION}
- TX_APP_GRAFANA_VERSION=${TX_APP_GRAFANA_VERSION}
#Container Specific
- TX_MONITOR_DIR=/srv
- TX_MONITOR_APP_DIR=/srv
- TX_STEP_HOST=${TX_STEP_HOST}
- TX_STEPPATH=/srv/grafana/.step
- TX_DB_HOST=monitor-postdb-run
- TX_DB_PORT=5432
- TX_POSTGRES_USER=${TX_POSTGRES_USER}
- TX_POSTGRES_DB=${TX_POSTGRES_DB}
- TX_DB_SHARED_LOCATION=/mnt/shared
# - TX_GRAFANA_ADMIN_USER=${TX_GRAFANA_ADMIN_USER}
# - TX_GRAFANA_USER_EMAIL=${TX_GRAFANA_USER_EMAIL}
- TX_GRAFANA_CERT_DUR=1h
- TX_CONTAINER_NAME=monitor-grafana-run
- TX_GRAFANA_PORT=${TX_GRAFANA_PORT}
- TX_GRAFANA_EXP_CHECK=20%
hostname: ${GRAFANA_HOST}
domainname: ${DOMAIN}
ports:
- "${TX_GRAFANA_PORT}:${TX_GRAFANA_PORT}"
networks:
- tx-monitor-net1
depends_on:
# tx-monitor-step-build:
# condition: service_started
tx-monitor-postdb-build:
condition: service_healthy
volumes:
- tx_monitor_keys_vol1:/srv/shared/.age/.keys:ro
- tx_monitor_info_vol1:/srv/shared/.age/.info:ro
- tx_monitor_grafana_vol1:/srv
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- shared:/mnt/shared
tty: true
volumes:
tx_monitor_keys_vol1:
external: true
tx_monitor_info_vol1:
external: true
tx_monitor_grafana_vol1:
external: true
shared:
networks:
tx-monitor-net1:
external: true