mirror of
https://github.com/nikdoof/cups-avahi-airprint.git
synced 2025-12-12 00:02:16 +00:00
Add defaults for CUPSADMIN and CUPSPASSWORD
If the variables CUPSADMIN and/or CUPSPASSWORD are not provided on start adding the cups admin will fail, but the container will nevertheless start. With this change CUPSADMIN - if missing - will be set to "cupsadmin" and CUPSPASSWORD - if missing - will be set to the name of the cups admin.
This commit is contained in:
@@ -14,6 +14,8 @@ This Alpine-based Docker image runs a CUPS instance that is meant as an AirPrint
|
||||
* `CUPSADMIN`: the CUPS admin user you want created
|
||||
* `CUPSPASSWORD`: the password for the CUPS admin user
|
||||
|
||||
If CUPSADMIN is not set, the default "cupsadmin" will be used. If CUPSPASSWORD is no set, the name of the admin user will be used.
|
||||
|
||||
### Ports/Network:
|
||||
* Must be run on host network. This is required to support multicasting which is needed for Airprint.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user