Skip to content

Commit a918cde

Browse files
committed
Add certs and openssl
1 parent ad191bc commit a918cde

6 files changed

Lines changed: 22 additions & 7 deletions

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ RUN \
1515
echo "**** install runtime packages ****" && \
1616
apk add --no-cache --upgrade \
1717
nodejs \
18-
npm && \
18+
npm \
19+
openssl && \
1920
echo "**** install app ****" && \
2021
mkdir -p \
2122
/opt/mstream && \

Dockerfile.aarch64

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ RUN \
1515
echo "**** install runtime packages ****" && \
1616
apk add --no-cache --upgrade \
1717
nodejs \
18-
npm && \
18+
npm \
19+
openssl && \
1920
echo "**** install app ****" && \
2021
mkdir -p \
2122
/opt/mstream && \

Dockerfile.armhf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ RUN \
1515
echo "**** install runtime packages ****" && \
1616
apk add --no-cache --upgrade \
1717
nodejs \
18-
npm && \
18+
npm \
19+
openssl && \
1920
echo "**** install app ****" && \
2021
mkdir -p \
2122
/opt/mstream && \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Find us at:
2222
[![Build Status](https://ci.linuxserver.io/buildStatus/icon?job=Docker-Pipeline-Builders/docker-mstream/master)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-mstream/job/master/)
2323
[![](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/mstream/latest/badge.svg)](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/mstream/latest/index.html)
2424

25-
[mstream](https://mstream.io/) is a personal music streaming server. You can use mStream to stream your music from your home computer to any device, anywhere.
25+
[mstream](https://mstream.io/) is a personal music streaming server. You can use mStream to stream your music from your home computer to any device, anywhere. There are mobile apps available for both Android and iPhone.
2626

2727

2828
[![mstream](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/mstream-icon.png)](https://mstream.io/)
@@ -124,7 +124,7 @@ In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as bel
124124
 
125125
## Application Setup
126126

127-
Access the webui at `http://<your-ip>:3000`, For most users specifying a USER and PASSWORD is sufficient, the `USE_JSON` option allows for more granular control of mStream, but with added complexity, requiring manual editing of `config.json` to configure your install, for more information check out [Mstream](https://github.com/IrosTheBeggar/mStream/blob/master/docs/json_config.md#json-config).
127+
Access the webui at `http://<your-ip>:3000`, For most users specifying a `$USER` and `$PASSWORD` is sufficient, the `USE_JSON` option allows for more granular control of mStream, but with added complexity, requiring manual editing of `config.json` to configure your install, for more information check out [Mstream](https://github.com/IrosTheBeggar/mStream/blob/master/docs/json_config.md#json-config). Note using this option will make the default username:password `admin` and `password` respectively and any environmental variables will be ignored.
128128

129129

130130

readme-vars.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ project_name: mstream
22
project_url: "https://mstream.io/"
33
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/mstream-icon.png"
44
project_blurb: |
5-
[{{ project_name }}]({{ project_url }}) is a personal music streaming server. You can use mStream to stream your music from your home computer to any device, anywhere.
5+
[{{ project_name }}]({{ project_url }}) is a personal music streaming server. You can use mStream to stream your music from your home computer to any device, anywhere. There are mobile apps available for both Android and iPhone.
66
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
77

88
# supported architectures
@@ -29,7 +29,7 @@ param_env_vars:
2929
# application setup block
3030
app_setup_block_enabled: true
3131
app_setup_block: |
32-
Access the webui at `http://<your-ip>:3000`, For most users specifying a USER and PASSWORD is sufficient, the `USE_JSON` option allows for more granular control of mStream, but with added complexity, requiring manual editing of `config.json` to configure your install, for more information check out [{{ project_name|capitalize }}](https://github.com/IrosTheBeggar/mStream/blob/master/docs/json_config.md#json-config).
32+
Access the webui at `http://<your-ip>:3000`, For most users specifying a `$USER` and `$PASSWORD` is sufficient, the `USE_JSON` option allows for more granular control of mStream, but with added complexity, requiring manual editing of `config.json` to configure your install, for more information check out [{{ project_name|capitalize }}](https://github.com/IrosTheBeggar/mStream/blob/master/docs/json_config.md#json-config). Note using this option will make the default username:password `admin` and `password` respectively and any environmental variables will be ignored.
3333
3434
# changelog
3535
changelogs:

root/etc/cont-init.d/20-certs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/with-contenv bash
2+
3+
# make our folders
4+
[[ ! -d /config/keys ]] && \
5+
mkdir -p \
6+
/config/keys
7+
8+
# create keys
9+
[[ ! -e /config/keys/certificate.pem ]] && \
10+
openssl req -x509 -nodes -days 3650 \
11+
-newkey rsa:2048 -keyout /config/keys/private-key.pem -out /config/keys/certificate.pem \
12+
-subj "/CN=mstream"

0 commit comments

Comments
 (0)