1
0
mirror of synced 2026-03-21 19:49:59 +01:00

Fix OSCAM

This commit is contained in:
d-two
2026-02-05 19:50:19 +01:00
committed by GitHub
parent 1b11183c09
commit 79f6b86047
6 changed files with 46 additions and 0 deletions

14
oscam/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
ARG BUILD_FROM=lscr.io/linuxserver/oscam:latest
# hadolint ignore=DL3006
FROM ${BUILD_FROM}
# copy local files
COPY root/ /
RUN chmod a+x /etc/s6-overlay/s6-rc.d/svc-oscam/run
# Ports and volumes
EXPOSE 8888
EXPOSE 9999
VOLUME /config

4
oscam/build.yaml Normal file
View File

@@ -0,0 +1,4 @@
---
build_from:
aarch64: lscr.io/linuxserver/oscam:latest
amd64: lscr.io/linuxserver/oscam:latest

22
oscam/config.yaml Normal file
View File

@@ -0,0 +1,22 @@
name: OSCAM
version: 1.1
slug: oscam
description: This add-on allows you to have a OSCAM-Server.
arch:
- armv7
- aarch64
- amd64
startup: application
webui: 'http://[HOST]:[PORT:8888]'
boot: auto
init: false
uart: true
ports:
8888/tcp: 8888
9999/tcp: 9999
ports_description:
8888/tcp: Web Interface
9999/tcp: OSCAM Server
map:
- 'config:rw'
hassio_role: default

BIN
oscam/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
oscam/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,6 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 8888" \
/usr/bin/oscam -c /config/oscam