Skip to content

Commit 8d9cf3e

Browse files
committed
switch to compose v2 cmd
1 parent e03b505 commit 8d9cf3e

6 files changed

Lines changed: 16 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -407,10 +407,10 @@
407407
> :warning: **UPGRADE NOTES**
408408
> As the Docker container now runs as a non-root user, you have to first stop the container and change permissions to `data` volume:
409409
> ```
410-
> docker-compose stop
410+
> docker compose stop
411411
> chown -R ${PUID}:${PGID} data/
412-
> docker-compose pull
413-
> docker-compose up -d
412+
> docker compose pull
413+
> docker compose up -d
414414
> ```
415415
416416
## 1.57-RC1 (2019/10/30)
@@ -470,7 +470,7 @@
470470
471471
> :warning: **UPGRADE NOTES**
472472
> Sidecar cron and syslog-ng are now respectively handled with `SIDECAR_CRON` and `SIDECAR_SYSLOGNG` env vars
473-
> See docker-compose example and README for more info.
473+
> See compose example and README for more info.
474474
475475
## 1.51-RC1 (2019/05/01)
476476

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -263,9 +263,9 @@ To upgrade to the latest version of LibreNMS, pull the newer image and launch
263263
the container. LibreNMS will upgrade automatically:
264264

265265
```console
266-
$ docker-compose down
267-
$ docker-compose pull
268-
$ docker-compose up -d
266+
$ docker compose down
267+
$ docker compose pull
268+
$ docker compose up -d
269269
```
270270

271271
## Configuration Management
@@ -288,7 +288,7 @@ and will override the default values.
288288
You can edit the running configuration via the LibreNMS web UI or `lnms config:set`
289289

290290
```bash
291-
docker-compose exec librenms lnms config:set page_refresh 300
291+
docker compose exec librenms lnms config:set page_refresh 300
292292
```
293293

294294
### Re-Apply YAML Config
@@ -317,7 +317,7 @@ If you want to use the `lnms` command to perform common server operations like
317317
manage users, database migration, and more, type:
318318

319319
```console
320-
$ docker-compose exec librenms lnms
320+
$ docker compose exec librenms lnms
321321
```
322322

323323
### Validate
@@ -326,7 +326,7 @@ If you want to validate your installation from the CLI, type the following
326326
command:
327327

328328
```console
329-
$ docker-compose exec --user librenms librenms php validate.php
329+
$ docker compose exec --user librenms librenms php validate.php
330330
====================================
331331
Component | Version
332332
--------- | -------
@@ -350,8 +350,8 @@ SNMP | NET-SNMP 5.8
350350

351351
If you want to enable the new [Dispatcher service](https://docs.librenms.org/Extensions/Dispatcher-Service/),
352352
you have to run a "sidecar" container (see dispatcher service in
353-
[docker-compose.yml](examples/compose/docker-compose.yml) example) or run a
354-
simple container like this:
353+
[compose.yml](examples/compose/compose.yml) example) or run a simple container
354+
like this:
355355

356356
```console
357357
$ docker run -d --name librenms_dispatcher \
@@ -369,8 +369,8 @@ $ docker run -d --name librenms_dispatcher \
369369
### Syslog-ng container
370370

371371
If you want to enable syslog-ng, you have to run a "sidecar" container (see
372-
syslog-ng service in [docker-compose.yml](examples/compose/docker-compose.yml)
373-
example) or run a simple container like this:
372+
syslog-ng service in [compose.yml](examples/compose/compose.yml) example) or
373+
run a simple container like this:
374374

375375
```console
376376
$ docker run -d --name librenms_syslog \
@@ -395,8 +395,8 @@ enable_syslog: true
395395
### Snmptrapd container
396396

397397
If you want to enable snmptrapd, you have to run a "sidecar" container (see
398-
snmptrapd service in [docker-compose.yml](examples/compose/docker-compose.yml)
399-
example) or run a simple container like this:
398+
snmptrapd service in [compose.yml](examples/compose/compose.yml) example) or
399+
run a simple container like this:
400400

401401
```console
402402
$ docker run -d --name librenms_snmptrapd \
File renamed without changes.

0 commit comments

Comments
 (0)