-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml.sample
118 lines (117 loc) · 3.4 KB
/
docker-compose.yml.sample
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
107
108
109
110
111
112
113
114
115
116
117
118
version: "3.7"
services:
grafana:
container_name: grafana
image: "grafana/grafana"
environment:
<<<<<<< HEAD:docker-compose.yml
- GF_SERVER_ROOT_URL=https://ts.dockerhost.tylerfontaine.me/grafana
=======
- GF_SERVER_ROOT_URL=https://yourhostname:3000
>>>>>>> b293a67ab1a2c8c095849d98837509dcdc11e891:docker-compose.yml.sample
- GF_SERVER_PROTOCOL=https
- GF_SERVER_SERVE_FROM_SUB_PATH=true
- GF_SERVER_CERT_FILE=/etc/keys/cert.pem
- GF_SERVER_CERT_KEY=/etc/keys/key.pem
- GF_SECURITY_STRICT_TRANSPORT_SECURITY=false
- GF_INSTALL_PLUGINS=grafana-piechart-panel
- GF_INSTALL_DIR=/tmp/grafana
- GF_PATHS_DATA=/usr/local/var/lib/grafana
ports:
- "3000:3000"
networks:
- compose
volumes:
- /srv/grafana:/usr/local//var/lib/grafana
- /opt/docker/timescale-demo/keys:/etc/keys
- /opt/docker/grafana-plugins:/tmp/grafana
pgadmin:
container_name: pgadmin
image: "dpage/pgadmin4"
environment:
PGADMIN_DEFAULT_EMAIL: your@email.com
PGADMIN_DEFAULT_PASSWORD: password
ports:
- "8080:80"
- "8443:443"
networks:
- compose
prometheus-adapter-alpha:
container_name: prom_adapt_alpha
image: "timescale/timescale-prometheus"
environment:
<<<<<<< HEAD:docker-compose.yml
- TS_PROM_PG_HOST=192.168.1.33
- TS_PROM_PG_PASSWORD=password
- TS_PROM_PG_DATABASE=prometheusalpha
=======
- TS_PROM_PG_HOST=yourhostname
- TS_PROM_PG_PASSWORD=password
>>>>>>> b293a67ab1a2c8c095849d98837509dcdc11e891:docker-compose.yml.sample
depends_on:
- prometheus
ports:
- "9202:9201"
networks:
- compose
# prometheus-adapter:
# container_name: prom_adapt
# image: "timescale/prometheus-postgresql-adapter"
# environment:
# - TS_PROM_PG_HOST=192.168.1.33
# - TS_PROM_PG_PASSWORD=password
# depends_on:
# - prometheus
# ports:
# - "9201:9201"
# networks:
# - compose
prometheus:
container_name: prom
image: prom/prometheus:latest
command:
- '--config.file=/etc/prometheus/prometheus.yml'
- '--storage.tsdb.path=/prometheus'
- '--web.console.libraries=/etc/prometheus/console_libraries'
- '--web.console.templates=/etc/prometheus/consoles'
- '--storage.tsdb.retention=30d'
- '--web.enable-lifecycle'
- '--web.external-url=http://ts.dockerhost.tylerfontaine.me:9090/prometheus/'
volumes:
- /opt/docker/timescale-demo/configs/:/etc/prometheus/
ports:
- "9090:9090"
networks:
- compose
# prometheus2:
# container_name: prom2
# image: prom/prometheus:latest
# command:
# - '--config.file=/etc/prometheus/prometheus2.yml'
# - '--storage.tsdb.path=/prometheus'
# - '--web.console.libraries=/etc/prometheus/console_libraries'
# - '--web.console.templates=/etc/prometheus/consoles'
# - '--storage.tsdb.retention=30d'
# - '--web.enable-lifecycle'
# volumes:
# - /opt/docker/timescale-demo/configs/:/etc/prometheus/
# ports:
# - "9093:9090"
# networks:
# - compose
#
reverse:
container_name: reverse
hostname: reverse
image: nginx
ports:
- 80:80
- 443:443
volumes:
- /opt/docker/office-monitor/nginx/config:/etc/nginx
- /opt/docker/office-monitor/nginx/certs:/etc/ssl/private
networks:
- compose
networks:
compose:
name: compose-test