-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
89 lines (84 loc) · 2.32 KB
/
docker-compose.yaml
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
version: "3.4"
volumes:
centreondb-var-lib-mysql:
centreon-etc:
centreon-centreon-www:
centreonpoller-etc:
networks:
centreon-net:
external:
name: centreon-net
services:
centreondb:
env_file: centreondb/centreondb.env
build:
context: centreondb
dockerfile: centreondb.Dockerfile
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
image: oxyure/centreondb:latest
entrypoint:
- /entrypoint
container_name: centreondb
hostname: centreondb
networks:
centreon-net:
ipv4_address: "172.36.0.42"
volumes:
- centreondb-var-lib-mysql:/var/lib/mysql
centreon:
env_file: centreon/centreon.env
build:
context: centreon
dockerfile: centreon.Dockerfile
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
CENTREON_CLIB_VERSION: ${CENTREON_CLIB_VERSION}
CENTREON_ENGINE_VERSION: ${CENTREON_ENGINE_VERSION}
CENTREON_BROKER_VERSION: ${CENTREON_BROKER_VERSION}
CENTREON_CONNECTORS_VERSION: ${CENTREON_CONNECTORS_VERSION}
CENTREON_CENTREON_VERSION: ${CENTREON_CENTREON_VERSION}
CENTREON_TIMEZONE: ${CENTREON_TIMEZONE}
depends_on:
- centreondb
image: oxyure/centreon:latest
entrypoint:
- /entrypoint
container_name: centreon
hostname: centreon
networks:
centreon-net:
ipv4_address: "172.36.0.100"
ports:
- "5555:80"
volumes:
- centreon-etc:/etc
- centreon-centreon-www:/centreon/www
centreonpoller:
env_file: centreonpoller/centreonpoller.env
build:
context: centreonpoller
dockerfile: centreonpoller.Dockerfile
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
CENTREON_CLIB_VERSION: ${CENTREON_CLIB_VERSION}
CENTREON_ENGINE_VERSION: ${CENTREON_ENGINE_VERSION}
CENTREON_BROKER_VERSION: ${CENTREON_BROKER_VERSION}
CENTREON_CONNECTORS_VERSION: ${CENTREON_CONNECTORS_VERSION}
CENTREON_TIMEZONE: ${CENTREON_TIMEZONE}
depends_on:
- centreon
- centreondb
image: oxyure/centreonpoller:latest
entrypoint:
- /entrypoint
container_name: centreonpoller
hostname: centreonpoller
networks:
centreon-net:
ipv4_address: "172.36.0.200"
volumes:
- centreonpoller-etc:/etc