mirror of
https://github.com/librenms/docker.git
synced 2026-01-23 02:14:48 +00:00
parent
7bce19f268
commit
96b00b6f9c
8 changed files with 60 additions and 18 deletions
|
|
@ -61,7 +61,6 @@ services:
|
|||
librenms:
|
||||
image: librenms/librenms:latest
|
||||
container_name: librenms
|
||||
domainname: example.com
|
||||
hostname: librenms
|
||||
ports:
|
||||
- target: 8000
|
||||
|
|
@ -90,8 +89,7 @@ services:
|
|||
dispatcher:
|
||||
image: librenms/librenms:latest
|
||||
container_name: librenms_dispatcher
|
||||
domainname: example.com
|
||||
hostname: librenms
|
||||
hostname: librenms-dispatcher
|
||||
depends_on:
|
||||
- librenms
|
||||
- redis
|
||||
|
|
@ -108,17 +106,17 @@ services:
|
|||
- "DB_USER=${MYSQL_USER}"
|
||||
- "DB_PASSWORD=${MYSQL_PASSWORD}"
|
||||
- "DB_TIMEOUT=60"
|
||||
- "LIBRENMS_SERVICE_NODE_ID=dispatcher1"
|
||||
- "REDIS_HOST=redis"
|
||||
- "REDIS_PORT=6379"
|
||||
- "REDIS_DB=0"
|
||||
- "SIDECAR_DISPATCHER=1"
|
||||
restart: always
|
||||
|
||||
syslog-ng:
|
||||
syslogng:
|
||||
image: librenms/librenms:latest
|
||||
container_name: librenms_syslog
|
||||
domainname: example.com
|
||||
hostname: librenms
|
||||
container_name: librenms_syslogng
|
||||
hostname: librenms-syslogng
|
||||
depends_on:
|
||||
- librenms
|
||||
ports:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue