1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-01-23 02:14:48 +00:00

Handle APP_KEY and NODE_ID (#91 #93)

This commit is contained in:
CrazyMax 2020-07-03 18:19:46 +02:00
parent 7bce19f268
commit 96b00b6f9c
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
8 changed files with 60 additions and 18 deletions

View file

@ -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: