-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explain docker install, allow CONFIG from env
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,5 +23,10 @@ A sample configration that configures the smtp server is provided in `scansmb.ex | |
|
||
Start it on the command line like this (this example makes use of all means of configuration): | ||
``` | ||
PRINTER_HOST=192.168.8.111 python3 scansmb.py -c scansmb.conf -f [email protected] -t [email protected] | ||
PRINTER_HOST=192.168.8.111 python3 scansmb.py -c scansmb.conf -f [email protected] -t [email protected] | ||
``` | ||
|
||
Or use the docker image at [dockerhub](https://hub.docker.com/r/hensur/scansmb): | ||
``` | ||
docker run -v $(pwd)/scansmb.conf:/scansmb.conf -e PRINTER_HOST=192.168.8.111 -e [email protected] -e [email protected] -e CONFIG=/scansmb.conf hensur/scansmb | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters