Files
myPublicMikrotikAppStore/apps.yaml
riaan.doorduin f81def18b5 Update apps.yaml
Update LAN settings
2026-09-19 13:09:30 +00:00

103 lines
3.0 KiB
YAML

- name: RD-openeuler-iperf
descr: openEuler container running iperf3 server
page: https://iperf.fr/
category: networking
default-credentials: none
services:
iperf:
image: docker.io/openeuler/iperf:latest
# ports:
# - 5201:5201:tcp
# - 5201:5201/udp:udp
command: /bin/sh -c "iperf3 -s"
networks:
default:
name: lan
external: true
- name: RD-alpine-iperf
descr: Alpine Linux container running iperf3 server
page: https://iperf.fr/
category: networking
default-credentials: none
services:
iperf:
image: docker.io/alpine:latest
command: /bin/sh -c "apk add --no-cache iperf3 && iperf3 -s"
networks:
default:
name: lan
external: true
- name: RD-debian-shell
descr: Minimal Debian 13 (trixie-slim) shell for one-off tasks
page: https://hub.docker.com/_/debian
category: development
default-credentialss: none
auto-update: false
services:
debian-shell:
image: docker.io/library/debian:trixie-slim
hostname: debian-shell
# trixie-slim exits immediately without a TTY, so keep PID 1 alive
command: sleep infinity
environment:
DEBIAN_FRONTEND: noninteractive
restart: "no"
# sleep as PID 1 ignores SIGTERM, so don't wait long on stop
stop_grace_period: 2s
networks:
default:
name: lan
external: true
- name: RD-debian-shell-withSSH
descr: Minimal Debian 13 (trixie-slim) shell for one-off tasks
page: https://hub.docker.com/_/debian
category: development
default-credentials: none
auto-update: false
services:
debian-shell:
image: docker.io/library/debian:trixie-slim
hostname: debian-shell
environment:
DEBIAN_FRONTEND: noninteractive
configs:
- source: 'ssh_authorized_keys'
target: '/etc/ssh_authorized_keys'
mode: 0644
- source: 'start_sshd'
target: '/start-sshd.sh'
mode: 0755
command: /start-sshd.sh # <-- this is it: run the script below as the container's PID 1
ports:
- 22:22:ssh
restart: unless-stopped
networks:
default:
name: lan
external: true
configs: # top-level configs: block — this is where the SCRIPT CONTENT actually lives
'ssh_authorized_keys':
content: |
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDvqx1GBstPpLkOHFePki+kh/96l0g80218oV5LVdMCH user@host
'start_sshd':
content: |
#!/bin/sh
set -e
if ! command -v sshd >/dev/null 2>&1; then
apt-get update
apt-get install -y --no-install-recommends openssh-server
rm -rf /var/lib/apt/lists/*
fi
mkdir -p /run/sshd /root/.ssh
cp /etc/ssh_authorized_keys /root/.ssh/authorized_keys
chmod 700 /root/.ssh
chmod 600 /root/.ssh/authorized_keys
sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin prohibit-password/' /etc/ssh/sshd_config
sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication no/' /etc/ssh/sshd_config
exec /usr/sbin/sshd -D -e
#The END