update readme
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Pavel Dmitriev 2023-01-22 15:04:19 +03:00
parent 752d2c0415
commit d82a8e78dd
1 changed files with 18 additions and 0 deletions

View File

@ -8,3 +8,21 @@
* RABBITMQ_USER
* RABBITMQ_PASSWORD
* RABBITMQ_USE_SSL
## docker-compose sample
```
version: "2"
services:
barcode-scanner:
image: mxfox.ru/mxfox/barcode-scanner-client:latest
devices:
- "/dev/ttyACM0:/dev/ttyACM0"
environment:
- 'SCANNER_PORT=/dev/ttyACM0'
- 'RABBITMQ_HOST=rabbitmq'
- 'RABBITMQ_USER=user'
- 'RABBITMQ_PASSWORD=pass'
- 'RABBITMQ_USE_SSL=false'
- 'RABBITMQ_VIRTUAL_HOST=/'
```