From a7cb15f67d6f162022395e059269916de64ecfce Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 10 Nov 2024 21:29:19 +0100 Subject: [PATCH] Improved docker-compose.yml documentation. --- docker-compose.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a9ff67607e..fd2bda299d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: # Replace the build section with the next line if instead of building the # image from a local checkout you want to pull the latest base # (Alpine-based) image from the remote registry - # image: "registry.platypush.tech/platypush:latest" + # image: "quay.io/platypush/platypush:latest" build: context: . @@ -34,7 +34,7 @@ services: # (e.g. Bluetooth BLE or GPIO/SPI/I2C) if access to individual devices is # not enough or isn't practical # privileged: true - + # Copy .env.example to .env and modify as needed # env_file: # - .env @@ -51,6 +51,11 @@ services: # - /path/to/a/workdir:/var/lib/platypush # Optionally, use an external volume for the cache # - /path/to/a/cachedir:/var/cache/platypush + # This may be required, together with privileged mode, if you want the + # container to access the USB bus on the host (required for example if + # you have USB audio devices that you want to access from your plugins, + # or Bluetooth dongles, or other USB adapters). + # - /dev/bus/usb:/dev/bus/usb redis: image: redis