Fix OSCAM
This commit is contained in:
14
oscam/Dockerfile
Normal file
14
oscam/Dockerfile
Normal 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
4
oscam/build.yaml
Normal 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
22
oscam/config.yaml
Normal 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
BIN
oscam/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
BIN
oscam/logo.png
Normal file
BIN
oscam/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
6
oscam/root/etc/s6-overlay/s6-rc.d/svc-oscam/run
Normal file
6
oscam/root/etc/s6-overlay/s6-rc.d/svc-oscam/run
Normal 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
|
||||
Reference in New Issue
Block a user