This repository has been archived by the owner on Apr 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
opennms-pris.yml
78 lines (73 loc) · 1.63 KB
/
opennms-pris.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
version: '2.3'
volumes:
psql.data:
driver: local
opennms.data:
driver: local
opennms.etc:
driver: local
pris.data:
driver: local
networks:
opennms.net:
driver: bridge
services:
database:
container_name: opennms.psql
image: postgres:9.6
env_file:
- .postgres.env
networks:
- opennms.net
volumes:
- psql.data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 10s
timeout: 30s
retries: 3
ports:
- "5432:5432"
opennms:
container_name: opennms.hzn.core.web
image: opennms/horizon-core-web:bleeding
env_file:
- .opennms.env
- .postgres.env
networks:
- opennms.net
depends_on:
database:
condition: service_healthy
volumes:
- opennms.etc:/opt/opennms/etc
- opennms.data:/opennms-data
- ./etc-overlay:/opt/opennms-etc-overlay
command: ["-s"]
healthcheck:
test: ["CMD", "curl", "-f", "-I", "http://localhost:8980/opennms/login.jsp"]
interval: 30s
timeout: 5s
retries: 1
ports:
- "8980:8980"
- "8101:8101"
- "61616:61616"
- "162:162/udp"
pris:
container_name: opennms.pris
image: opennms/pris:latest
environment:
- TZ=Europe/Berlin
networks:
- opennms.net
volumes:
- pris.data:/opt/opennms-pris/requisitions
- pris.data:/opt/opennms-pris/scriptsteps
healthcheck:
test: ["CMD", "curl", "-f", "-I", "http://localhost:8000/documentation/index.html"]
interval: 30s
timeout: 5s
retries: 1
ports:
- "8000:8000"