-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (44 loc) · 1.22 KB
/
docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.22 KB
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
version: '2'
services:
postgres:
image: postgres:12.5
restart: unless-stopped
environment:
- POSTGRES_USER=netxms
- POSTGRES_PASSWORD=netxms
- TZ=Europe/Moscow
volumes:
- pgdata:/var/lib/postgresql/data
netxms-server:
image: ibonder/netxms-server:latest
restart: unless-stopped
ports:
- "4701:4701" # client -> server
- "4702:4702" # mgmt console -> server
- "514:514/udp" # syslog server
depends_on:
- postgres
links:
- postgres
volumes:
- netxmsdata:/data
environment:
- NETXMSD_DB_LOGIN=netxms
- NETXMSD_DB_PASSWORD=netxms
- NETXMSD_DB_NAME=netxms
- NETXMSD_UNLOCK_ON_STARTUP=1
- NETXMSD_UPGRADE_ON_STARTUP=1
- NETXMSD_DEBUG_LEVEL=0
- NETXMSD_CONFIG=
- NETXMSD_UPGRADE_PARAMS=
- TZ=Europe/Moscow
command: ["./docker-entrypoint.sh"]
netxms-webui:
image: ibonder/netxms-webui:latest
ports:
- "8080:8080"
volumes:
pgdata:
driver: local
netxmsdata:
driver: local