Improved docker-compose.yml documentation.

This commit is contained in:
Fabio Manganiello 2024-11-10 21:29:19 +01:00
parent 27ee490264
commit a7cb15f67d
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

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