forked from platypush/platypush
Improved docker-compose.yml documentation.
This commit is contained in:
parent
27ee490264
commit
a7cb15f67d
1 changed files with 7 additions and 2 deletions
|
@ -3,7 +3,7 @@ services:
|
||||||
# Replace the build section with the next line if instead of building the
|
# 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
|
# image from a local checkout you want to pull the latest base
|
||||||
# (Alpine-based) image from the remote registry
|
# (Alpine-based) image from the remote registry
|
||||||
# image: "registry.platypush.tech/platypush:latest"
|
# image: "quay.io/platypush/platypush:latest"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
@ -34,7 +34,7 @@ services:
|
||||||
# (e.g. Bluetooth BLE or GPIO/SPI/I2C) if access to individual devices is
|
# (e.g. Bluetooth BLE or GPIO/SPI/I2C) if access to individual devices is
|
||||||
# not enough or isn't practical
|
# not enough or isn't practical
|
||||||
# privileged: true
|
# privileged: true
|
||||||
|
|
||||||
# Copy .env.example to .env and modify as needed
|
# Copy .env.example to .env and modify as needed
|
||||||
# env_file:
|
# env_file:
|
||||||
# - .env
|
# - .env
|
||||||
|
@ -51,6 +51,11 @@ services:
|
||||||
# - /path/to/a/workdir:/var/lib/platypush
|
# - /path/to/a/workdir:/var/lib/platypush
|
||||||
# Optionally, use an external volume for the cache
|
# Optionally, use an external volume for the cache
|
||||||
# - /path/to/a/cachedir:/var/cache/platypush
|
# - /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:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
|
|
Loading…
Reference in a new issue