Added ankerctl HA addon

This commit is contained in:
kvanzuijlen 2023-05-23 17:38:19 +00:00
parent 7ad9cfed24
commit 4a41424bc9
5 changed files with 45 additions and 13 deletions

View file

@ -16,4 +16,31 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
FLASK_HOST=0.0.0.0 \
FLASK_PORT=4470
LABEL org.opencontainers.image.version=${BUILD_VERSION}
############
# 5 Labels #
############
ARG BUILD_ARCH
ARG BUILD_DATE
ARG BUILD_DESCRIPTION
ARG BUILD_NAME
ARG BUILD_REF
ARG BUILD_REPOSITORY
ARG BUILD_VERSION
LABEL \
io.hass.name="${BUILD_NAME}" \
io.hass.description="${BUILD_DESCRIPTION}" \
io.hass.arch="${BUILD_ARCH}" \
io.hass.type="addon" \
io.hass.version=${BUILD_VERSION} \
maintainer="ankermgmt (https://github.com/ankermgmt)" \
org.opencontainers.image.title="${BUILD_NAME}" \
org.opencontainers.image.description="${BUILD_DESCRIPTION}" \
org.opencontainers.image.vendor="Home Assistant Add-ons" \
org.opencontainers.image.authors="kvanzuijlen (https://github.com/kvanzuijlen)" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.url="https://github.com/ankermgmt" \
org.opencontainers.image.source="https://github.com/${BUILD_REPOSITORY}" \
org.opencontainers.image.documentation="https://github.com/${BUILD_REPOSITORY}/blob/main/README.md" \
org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.revision=${BUILD_REF} \
org.opencontainers.image.version=${BUILD_VERSION}

View file

@ -1,9 +1,9 @@
build_from:
aarch64: "ghcr.io/kvanzuijlen/ankerctl:v1.0.0"
amd64: "ghcr.io/kvanzuijlen/ankerctl:v1.0.0"
armv7: "ghcr.io/kvanzuijlen/ankerctl:v1.0.0"
aarch64: "ghcr.io/ankermgmt/ankermake-m5-protocol:v1.0.0"
amd64: "ghcr.io/ankermgmt/ankermake-m5-protocol:v1.0.0"
armv7: "ghcr.io/ankermgmt/ankermake-m5-protocol:v1.0.0"
labels:
org.opencontainers.image.title: "Home Assistant Add-on: AnkerCTL"
org.opencontainers.image.description: "AnkerCTL"
org.opencontainers.image.source: "https://github.com/AnkerMGMT/AnkerMGMT-homeassistant-addons"
org.opencontainers.image.licenses: "Apache License 2.0"
org.opencontainers.image.title: "Home Assistant Add-on: ankerctl"
org.opencontainers.image.description: "ankerctl"
org.opencontainers.image.source: "https://github.com/ankermgmt/ankermgmt-homeassistant-addons"
org.opencontainers.image.licenses: "GPLv3"

View file

@ -1,12 +1,17 @@
name: "AnkerCTL"
description: "The official AnkerCTL addon"
version: "1.0.0-5"
name: "ankerctl"
description: "The official ankerctl addon"
version: "1.0.0-0"
slug: "ankerctl"
ingress: true
ingress: false # Doesn't work yet, might need some source code changes
ingress_port: 4470
ingress_stream: true
ingress_stream: false
init: false
host_network: true
arch:
- aarch64
- amd64
- armv7
ports:
"4470": 4470
ports_description:
"4470": "The webinterface for ankerctl"

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB