forked from dalibo/temboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (37 loc) · 1.13 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
version: '2'
volumes:
rdata:
rrun:
services:
repository:
image: postgres:9.6
ports:
- 5432:5432
environment:
POSTGRES_USER: temboard
POSTGRES_PASSWORD: temboard
volumes:
- rdata:/var/lib/postgresql/data
- rrun:/var/run/postgresql
- ./share/sql/application.sql:/docker-entrypoint-initdb.d/00-temboard.sql
- ./share/sql/monitoring.sql:/docker-entrypoint-initdb.d/10-plugin-monitoring.sql
- ./share/sql/alerting.sql:/docker-entrypoint-initdb.d/11-plugin-alerting.sql
- ./share/sql/dev-fixture.sql:/docker-entrypoint-initdb.d/90-dev-fixture.sql
agent:
image: dalibo/temboard-agent
ports:
- 2345:2345
volumes:
- rdata:/var/lib/postgresql/data
- rrun:/var/run/postgresql
- /usr/bin/docker:/usr/bin/docker
- /var/run/docker.sock:/var/run/docker.sock
links:
- repository:repository.fqdn
environment:
TEMBOARD_HOSTNAME: repository.fqdn
TEMBOARD_KEY: key_for_agent0
TEMBOARD_UI_URL: https://172.17.0.1:8888
TEMBOARD_REGISTER_HOST: 0.0.0.0
TEMBOARD_REGISTER_PORT: 2345
TEMBOARD_GROUPS: default