[CUPS] Rewrite based on @zajac-grzegorz work (#218)

* [CUPS] Rewrite based on @zajac-grzegorz work

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Max Winterstein
2023-11-16 22:52:44 +01:00
committed by GitHub
parent 932affd371
commit 273efd5db2
29 changed files with 174 additions and 180 deletions

View File

@@ -1,19 +1,16 @@
---
name: CUPS Print Server
version: "2.2.0"
stage: experimental
slug: cups
image: ghcr.io/maxwinterstein/homeassistant-addon-cups-{arch}
description: A CUPS print server with Avahi installed
name: CUPS
version: 3.0.0
url: https://github.com/MaxWinterstein/homeassistant-addons/
image: ghcr.io/maxwinterstein/homeassistant-addon-cups-{arch}
slug: cups
description: A CUPS print server with working AirPrint
arch:
- amd64
- armv7
- aarch64
usb: true
init: false
homeassistant_api: true
# host_network: true
host_network: true
ports:
631/tcp: 631
631/udp: 631
@@ -22,15 +19,5 @@ ports_description:
631/udp: For other devices on the local network to print to this server
# ingress: false
map:
- ssl
options:
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
require_ssl: true
schema:
ssl: bool
cafile: str?
certfile: str
keyfile: str
require_ssl: bool
- config:rw
stage: experimental