mirror of
https://github.com/linuxserver/docker-heimdall.git
synced 2026-02-25 22:00:29 +09:00
Compare commits
54 Commits
js-882cd13
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8a006523a | ||
|
|
b8d51cc97d | ||
|
|
ec07bff1ac | ||
|
|
21e6d52b46 | ||
|
|
1f097316ec | ||
|
|
e735f61e57 | ||
|
|
e38599485d | ||
|
|
9b076f235e | ||
|
|
794bafaab2 | ||
|
|
597d556cd2 | ||
|
|
e79c61b3c5 | ||
|
|
2c54f91807 | ||
|
|
f3f506c7f2 | ||
|
|
8832c94540 | ||
|
|
343bb827ce | ||
|
|
41154e0438 | ||
|
|
0c66ead61e | ||
|
|
079aabfeb4 | ||
|
|
a5e53899cf | ||
|
|
5ac7422993 | ||
|
|
eab7c6495e | ||
|
|
b0f0adb148 | ||
|
|
be7d050888 | ||
|
|
c82016564c | ||
|
|
c7467f6aa5 | ||
|
|
1613da6dc9 | ||
|
|
5f363b265c | ||
|
|
bb9e50be18 | ||
|
|
b053939f72 | ||
|
|
51d66e0ea6 | ||
|
|
3a00115c88 | ||
|
|
17655d12fe | ||
|
|
225302baf6 | ||
|
|
9883c65f4f | ||
|
|
c4716c464d | ||
|
|
d51600ca8e | ||
|
|
f0ed8c45ca | ||
|
|
c92bccc89e | ||
|
|
509bb4358d | ||
|
|
80a0db2aaf | ||
|
|
579f419f1f | ||
|
|
2883d89040 | ||
|
|
fac2512f02 | ||
|
|
4b6e635375 | ||
|
|
5786b2ff61 | ||
|
|
292f434ca1 | ||
|
|
cbc08b4cdc | ||
|
|
85de02aa29 | ||
|
|
9ba53ce10e | ||
|
|
71bada833c | ||
|
|
8788a724b0 | ||
|
|
49a9390a5d | ||
|
|
a64b9e838a | ||
|
|
9659004f69 |
@@ -1,20 +0,0 @@
|
||||
# This file is globally distributed to all container image projects from
|
||||
# https://github.com/linuxserver/docker-jenkins-builder/blob/master/.editorconfig
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
# Unix-style newlines with a newline ending every file
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
# trim_trailing_whitespace may cause unintended issues and should not be globally set true
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[{Dockerfile*,**.yml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[{**.sh,root/etc/s6-overlay/s6-rc.d/**,root/etc/cont-init.d/**,root/etc/services.d/**}]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
123
.github/CONTRIBUTING.md
vendored
123
.github/CONTRIBUTING.md
vendored
@@ -1,123 +0,0 @@
|
||||
# Contributing to heimdall
|
||||
|
||||
## Gotchas
|
||||
|
||||
* While contributing make sure to make all your changes before creating a Pull Request, as our pipeline builds each commit after the PR is open.
|
||||
* Read, and fill the Pull Request template
|
||||
* If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR
|
||||
* If the PR is addressing an existing issue include, closes #\<issue number>, in the body of the PR commit message
|
||||
* If you want to discuss changes, you can also bring it up in [#dev-talk](https://discordapp.com/channels/354974912613449730/757585807061155840) in our [Discord server](https://discord.gg/YWrKVTn)
|
||||
|
||||
## Common files
|
||||
|
||||
| File | Use case |
|
||||
| :----: | --- |
|
||||
| `Dockerfile` | Dockerfile used to build amd64 images |
|
||||
| `Dockerfile.aarch64` | Dockerfile used to build 64bit ARM architectures |
|
||||
| `Dockerfile.armhf` | Dockerfile used to build 32bit ARM architectures |
|
||||
| `Jenkinsfile` | This file is a product of our builder and should not be edited directly. This is used to build the image |
|
||||
| `jenkins-vars.yml` | This file is used to generate the `Jenkinsfile` mentioned above, it only affects the build-process |
|
||||
| `package_versions.txt` | This file is generated as a part of the build-process and should not be edited directly. It lists all the installed packages and their versions |
|
||||
| `README.md` | This file is a product of our builder and should not be edited directly. This displays the readme for the repository and image registries |
|
||||
| `readme-vars.yml` | This file is used to generate the `README.md` |
|
||||
|
||||
## Readme
|
||||
|
||||
If you would like to change our readme, please __**do not**__ directly edit the readme, as it is auto-generated on each commit.
|
||||
Instead edit the [readme-vars.yml](https://github.com/linuxserver/docker-heimdall/edit/js/readme-vars.yml).
|
||||
|
||||
These variables are used in a template for our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) as part of an ansible play.
|
||||
Most of these variables are also carried over to [docs.linuxserver.io](https://docs.linuxserver.io/images/docker-heimdall)
|
||||
|
||||
### Fixing typos or clarify the text in the readme
|
||||
|
||||
There are variables for multiple parts of the readme, the most common ones are:
|
||||
|
||||
| Variable | Description |
|
||||
| :----: | --- |
|
||||
| `project_blurb` | This is the short excerpt shown above the project logo. |
|
||||
| `app_setup_block` | This is the text that shows up under "Application Setup" if enabled |
|
||||
|
||||
### Parameters
|
||||
|
||||
The compose and run examples are also generated from these variables.
|
||||
|
||||
We have a [reference file](https://github.com/linuxserver/docker-jenkins-builder/blob/master/vars/_container-vars-blank) in our Jenkins Builder.
|
||||
|
||||
These are prefixed with `param_` for required parameters, or `opt_param` for optional parameters, except for `cap_add`.
|
||||
Remember to enable param, if currently disabled. This differs between parameters, and can be seen in the reference file.
|
||||
|
||||
Devices, environment variables, ports and volumes expects its variables in a certain way.
|
||||
|
||||
### Devices
|
||||
|
||||
```yml
|
||||
param_devices:
|
||||
- { device_path: "/dev/dri", device_host_path: "/dev/dri", desc: "For hardware transcoding" }
|
||||
opt_param_devices:
|
||||
- { device_path: "/dev/dri", device_host_path: "/dev/dri", desc: "For hardware transcoding" }
|
||||
```
|
||||
|
||||
### Environment variables
|
||||
|
||||
```yml
|
||||
param_env_vars:
|
||||
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London." }
|
||||
opt_param_env_vars:
|
||||
- { env_var: "VERSION", env_value: "latest", desc: "Supported values are LATEST, PLEXPASS or a specific version number." }
|
||||
```
|
||||
|
||||
### Ports
|
||||
|
||||
```yml
|
||||
param_ports:
|
||||
- { external_port: "80", internal_port: "80", port_desc: "Application WebUI" }
|
||||
opt_param_ports:
|
||||
- { external_port: "80", internal_port: "80", port_desc: "Application WebUI" }
|
||||
```
|
||||
|
||||
### Volumes
|
||||
|
||||
```yml
|
||||
param_volumes:
|
||||
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "Configuration files." }
|
||||
opt_param_volumes:
|
||||
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "Configuration files." }
|
||||
```
|
||||
|
||||
### Testing template changes
|
||||
|
||||
After you make any changes to the templates, you can use our [Jenkins Builder](https://github.com/linuxserver/docker-jenkins-builder) to have the files updated from the modified templates. Please use the command found under `Running Locally` [on this page](https://github.com/linuxserver/docker-jenkins-builder/blob/master/README.md) to generate them prior to submitting a PR.
|
||||
|
||||
## Dockerfiles
|
||||
|
||||
We use multiple Dockerfiles in our repos, this is because sometimes some CPU architectures needs different packages to work.
|
||||
If you are proposing additional packages to be added, ensure that you added the packages to all the Dockerfiles in alphabetical order.
|
||||
|
||||
### Testing your changes
|
||||
|
||||
```bash
|
||||
git clone https://github.com/linuxserver/docker-heimdall.git
|
||||
cd docker-heimdall
|
||||
docker build \
|
||||
--no-cache \
|
||||
--pull \
|
||||
-t linuxserver/heimdall:latest .
|
||||
```
|
||||
|
||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
|
||||
|
||||
```bash
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
```
|
||||
|
||||
Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.
|
||||
|
||||
## Update the changelog
|
||||
|
||||
If you are modifying the Dockerfiles or any of the startup scripts in [root](https://github.com/linuxserver/docker-heimdall/tree/js/root), add an entry to the changelog
|
||||
|
||||
```yml
|
||||
changelogs:
|
||||
- { date: "DD.MM.YY:", desc: "Added some love to templates" }
|
||||
```
|
||||
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@@ -1,2 +0,0 @@
|
||||
github: linuxserver
|
||||
open_collective: linuxserver
|
||||
21
.github/ISSUE_TEMPLATE.md
vendored
Normal file
21
.github/ISSUE_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<!--- Provide a general summary of the issue in the Title above -->
|
||||
|
||||
[linuxserverurl]: https://linuxserver.io
|
||||
[][linuxserverurl]
|
||||
|
||||
|
||||
<!--- If you have an issue with the project, please provide us with the following information -->
|
||||
|
||||
<!--- Host OS -->
|
||||
<!--- Command line users, your run/create command, GUI/Unraid users, a screenshot of your template settings. -->
|
||||
<!--- Docker log output, docker log <container-name> -->
|
||||
<!--- Mention if you're using symlinks on any of the volume mounts. -->
|
||||
|
||||
|
||||
<!--- If you have a suggestion or fix for the project, please provide us with the following information -->
|
||||
|
||||
<!--- What you think your suggestion brings to the project, or fixes with the project -->
|
||||
<!--- If it's a fix, would it be better suited as a Pull request to the repo ? -->
|
||||
|
||||
## Thanks, team linuxserver.io
|
||||
|
||||
13
.github/ISSUE_TEMPLATE/config.yml
vendored
13
.github/ISSUE_TEMPLATE/config.yml
vendored
@@ -1,13 +0,0 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Discord chat support
|
||||
url: https://discord.gg/YWrKVTn
|
||||
about: Realtime support / chat with the community and the team.
|
||||
|
||||
- name: Discourse discussion forum
|
||||
url: https://discourse.linuxserver.io
|
||||
about: Post on our community forum.
|
||||
|
||||
- name: Documentation
|
||||
url: https://docs.linuxserver.io/images/docker-heimdall
|
||||
about: Documentation - information about all of our containers.
|
||||
14
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
14
.github/ISSUE_TEMPLATE/issue.bug.yml
vendored
@@ -1,14 +0,0 @@
|
||||
# Based on the issue template
|
||||
name: Bug report
|
||||
description: Create a report to help us improve
|
||||
title: "[BUG] <title>"
|
||||
labels: [Bug]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# DEPRECATION NOTICE
|
||||
|
||||
This image is deprecated. We will not offer support for this image and it will not be updated.
|
||||
|
||||
We recommend switching to the latest tag
|
||||
14
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
14
.github/ISSUE_TEMPLATE/issue.feature.yml
vendored
@@ -1,14 +0,0 @@
|
||||
# Based on the issue template
|
||||
name: Feature request
|
||||
description: Suggest an idea for this project
|
||||
title: "[FEAT] <title>"
|
||||
labels: [enhancement]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
# DEPRECATION NOTICE
|
||||
|
||||
This image is deprecated. We will not offer support for this image and it will not be updated.
|
||||
|
||||
We recommend switching to the latest tag
|
||||
41
.github/PULL_REQUEST_TEMPLATE.md
vendored
41
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,48 +1,15 @@
|
||||
# DEPRECATION NOTICE
|
||||
|
||||
This image is deprecated. We will not offer support for this image and it will not be updated.
|
||||
We recommend switching to the latest tag
|
||||
|
||||
<!--- Provide a general summary of your changes in the Title above -->
|
||||
|
||||
[linuxserverurl]: https://linuxserver.io
|
||||
[][linuxserverurl]
|
||||
|
||||
|
||||
|
||||
<!--- Before submitting a pull request please check the following -->
|
||||
|
||||
<!--- If this is a fix for a typo (in code, documentation, or the README) please file an issue and let us sort it out. We do not need a PR -->
|
||||
<!--- Ask yourself if this modification is something the whole userbase will benefit from, if this is a specific change for corner case functionality or plugins please look at making a Docker Mod or local script https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ -->
|
||||
<!--- That you have made a branch in your fork, we'd rather not merge from your master -->
|
||||
<!--- That if the PR is addressing an existing issue include, closes #<issue number> , in the body of the PR commit message -->
|
||||
<!--- You have included links to any files / patches etc your PR may be using in the body of the PR commit message -->
|
||||
<!--- We maintain a changelog of major revisions to the container at the end of readme-vars.yml in the root of this repository, please add your changes there if appropriate -->
|
||||
<!--- -->
|
||||
|
||||
## Thanks, team linuxserver.io
|
||||
|
||||
<!--- Coding guidelines: -->
|
||||
<!--- 1. Installed packages in the Dockerfiles should be in alphabetical order -->
|
||||
<!--- 2. Changes to Dockerfile should be replicated in Dockerfile.armhf and Dockerfile.aarch64 if applicable -->
|
||||
<!--- 3. Indentation style (tabs vs 4 spaces vs 1 space) should match the rest of the document -->
|
||||
<!--- 4. Readme is auto generated from readme-vars.yml, make your changes there -->
|
||||
|
||||
------------------------------
|
||||
|
||||
- [ ] I have read the [contributing](https://github.com/linuxserver/docker-heimdall/blob/js/.github/CONTRIBUTING.md) guideline and understand that I have made the correct modifications
|
||||
|
||||
------------------------------
|
||||
|
||||
<!--- We welcome all PR’s though this doesn’t guarantee it will be accepted. -->
|
||||
|
||||
## Description:
|
||||
<!--- Describe your changes in detail -->
|
||||
|
||||
## Benefits of this PR and context:
|
||||
<!--- Please explain why we should accept this PR. If this fixes an outstanding bug, please reference the issue # -->
|
||||
|
||||
## How Has This Been Tested?
|
||||
<!--- Please describe in detail how you tested your changes. -->
|
||||
<!--- Include details of your testing environment, and the tests you ran to -->
|
||||
<!--- see how your change affects other areas of the code, etc. -->
|
||||
|
||||
|
||||
## Source / References:
|
||||
<!--- Please include any forum posts/github links relevant to the PR -->
|
||||
|
||||
13
.github/workflows/greetings.yml
vendored
13
.github/workflows/greetings.yml
vendored
@@ -1,13 +0,0 @@
|
||||
name: Greetings
|
||||
|
||||
on: [pull_request_target, issues]
|
||||
|
||||
jobs:
|
||||
greeting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
issue-message: 'Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.'
|
||||
pr-message: 'Thanks for opening this pull request! Be sure to follow the [pull request template](https://github.com/linuxserver/docker-heimdall/blob/js/.github/PULL_REQUEST_TEMPLATE.md)!'
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
10
.github/workflows/permissions.yml
vendored
10
.github/workflows/permissions.yml
vendored
@@ -1,10 +0,0 @@
|
||||
name: Permission check
|
||||
on:
|
||||
pull_request_target:
|
||||
paths:
|
||||
- '**/run'
|
||||
- '**/finish'
|
||||
- '**/check'
|
||||
jobs:
|
||||
permission_check:
|
||||
uses: linuxserver/github-workflows/.github/workflows/init-svc-executable-permissions.yml@v1
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -41,4 +41,3 @@ $RECYCLE.BIN/
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
.jenkins-external
|
||||
|
||||
98
Dockerfile
98
Dockerfile
@@ -1,4 +1,5 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.13
|
||||
FROM lsiobase/cloud9:files-alpine as c9files
|
||||
FROM lsiobase/nginx:3.10
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@@ -8,45 +9,66 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
|
||||
LABEL maintainer="aptalca"
|
||||
|
||||
# environment settings
|
||||
ENV \
|
||||
HOME="/app/heimdall" \
|
||||
NODE_ENV="production"
|
||||
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
|
||||
|
||||
# cloud9
|
||||
COPY --from=c9files /buildout/ /
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
curl \
|
||||
g++ \
|
||||
make \
|
||||
python2 && \
|
||||
echo "**** install runtime packages ****" && \
|
||||
apk add --no-cache \
|
||||
nodejs \
|
||||
npm && \
|
||||
echo "**** install heimdall ****" && \
|
||||
mkdir -p \
|
||||
/app/heimdall && \
|
||||
if [ -z ${HEIMDALL_RELEASE+x} ]; then \
|
||||
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/heimdalljs/commits/master" \
|
||||
| awk '/sha/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/heimdalljs.tar.gz -L \
|
||||
"https://github.com/linuxserver/heimdalljs/archive/${HEIMDALL_RELEASE}.tar.gz" && \
|
||||
tar xf \
|
||||
/tmp/heimdalljs.tar.gz -C \
|
||||
/app/heimdall/ --strip-components=1 && \
|
||||
cd /app/heimdall && \
|
||||
NODE_ENV="development" npm install && \
|
||||
cp .env.example .env && \
|
||||
npm run build && \
|
||||
echo "**** cleanup ****" && \
|
||||
npm prune --production && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/root/.cache \
|
||||
/tmp/*
|
||||
echo "**** install dev packages ****" && \
|
||||
apk add --no-cache \
|
||||
c-ares \
|
||||
curl \
|
||||
git \
|
||||
gnupg \
|
||||
http-parser \
|
||||
libevent \
|
||||
libevent \
|
||||
libstdc++ \
|
||||
libuv \
|
||||
sudo && \
|
||||
echo "**** user perms ****" && \
|
||||
usermod -aG wheel \
|
||||
abc && \
|
||||
echo "auth sufficient pam_shells.so" > /etc/pam.d/chsh && \
|
||||
chsh abc -s /bin/bash && \
|
||||
sed -e \
|
||||
's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' \
|
||||
-i /etc/sudoers && \
|
||||
echo "**** install runtime packages ****" && \
|
||||
apk add --no-cache \
|
||||
curl \
|
||||
php7-ctype \
|
||||
php7-pdo_sqlite \
|
||||
php7-tokenizer \
|
||||
php7-zip \
|
||||
tar && \
|
||||
echo "**** install heimdall ****" && \
|
||||
mkdir -p \
|
||||
/c9sdk/build/standalone \
|
||||
/var/www/localhost/heimdall && \
|
||||
git clone \
|
||||
https://github.com/linuxserver/Heimdall.git \
|
||||
/var/www/localhost/heimdall && \
|
||||
echo "**** dev setup and permissions ****" && \
|
||||
echo -e \
|
||||
'\n# Heimdall user authorization\nfastcgi_param PHP_AUTH_USER $remote_user;\nfastcgi_param PHP_AUTH_PW $http_authorization;' >> \
|
||||
/etc/nginx/fastcgi_params && \
|
||||
cp \
|
||||
/var/www/localhost/heimdall/.env.example \
|
||||
/var/www/localhost/heimdall/.env && \
|
||||
php /var/www/localhost/heimdall/artisan key:generate && \
|
||||
sed -i \
|
||||
's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' \
|
||||
/var/www/localhost/heimdall/.env && \
|
||||
chown -R abc:abc \
|
||||
/c9sdk/build/standalone \
|
||||
/c9bins \
|
||||
/config \
|
||||
/var/www/localhost/heimdall && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.13
|
||||
FROM lsiobase/cloud9:arm64v8-files-alpine as c9files
|
||||
FROM lsiobase/nginx:arm64v8-3.10
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@@ -8,45 +9,66 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
|
||||
LABEL maintainer="aptalca"
|
||||
|
||||
# environment settings
|
||||
ENV \
|
||||
HOME="/app/heimdall" \
|
||||
NODE_ENV="production"
|
||||
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
|
||||
|
||||
# cloud9
|
||||
COPY --from=c9files /buildout/ /
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
curl \
|
||||
g++ \
|
||||
make \
|
||||
python2 && \
|
||||
echo "**** install runtime packages ****" && \
|
||||
apk add --no-cache \
|
||||
nodejs \
|
||||
npm && \
|
||||
echo "**** install heimdall ****" && \
|
||||
mkdir -p \
|
||||
/app/heimdall && \
|
||||
if [ -z ${HEIMDALL_RELEASE+x} ]; then \
|
||||
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/heimdalljs/commits/master" \
|
||||
| awk '/sha/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/heimdalljs.tar.gz -L \
|
||||
"https://github.com/linuxserver/heimdalljs/archive/${HEIMDALL_RELEASE}.tar.gz" && \
|
||||
tar xf \
|
||||
/tmp/heimdalljs.tar.gz -C \
|
||||
/app/heimdall/ --strip-components=1 && \
|
||||
cd /app/heimdall && \
|
||||
NODE_ENV="development" npm install && \
|
||||
cp .env.example .env && \
|
||||
npm run build && \
|
||||
echo "**** cleanup ****" && \
|
||||
npm prune --production && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/root/.cache \
|
||||
/tmp/*
|
||||
echo "**** install dev packages ****" && \
|
||||
apk add --no-cache \
|
||||
c-ares \
|
||||
curl \
|
||||
git \
|
||||
gnupg \
|
||||
http-parser \
|
||||
libevent \
|
||||
libevent \
|
||||
libstdc++ \
|
||||
libuv \
|
||||
sudo && \
|
||||
echo "**** user perms ****" && \
|
||||
usermod -aG wheel \
|
||||
abc && \
|
||||
echo "auth sufficient pam_shells.so" > /etc/pam.d/chsh && \
|
||||
chsh abc -s /bin/bash && \
|
||||
sed -e \
|
||||
's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' \
|
||||
-i /etc/sudoers && \
|
||||
echo "**** install runtime packages ****" && \
|
||||
apk add --no-cache \
|
||||
curl \
|
||||
php7-ctype \
|
||||
php7-pdo_sqlite \
|
||||
php7-tokenizer \
|
||||
php7-zip \
|
||||
tar && \
|
||||
echo "**** install heimdall ****" && \
|
||||
mkdir -p \
|
||||
/c9sdk/build/standalone \
|
||||
/var/www/localhost/heimdall && \
|
||||
git clone \
|
||||
https://github.com/linuxserver/Heimdall.git \
|
||||
/var/www/localhost/heimdall && \
|
||||
echo "**** dev setup and permissions ****" && \
|
||||
echo -e \
|
||||
'\n# Heimdall user authorization\nfastcgi_param PHP_AUTH_USER $remote_user;\nfastcgi_param PHP_AUTH_PW $http_authorization;' >> \
|
||||
/etc/nginx/fastcgi_params && \
|
||||
cp \
|
||||
/var/www/localhost/heimdall/.env.example \
|
||||
/var/www/localhost/heimdall/.env && \
|
||||
php /var/www/localhost/heimdall/artisan key:generate && \
|
||||
sed -i \
|
||||
's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' \
|
||||
/var/www/localhost/heimdall/.env && \
|
||||
chown -R abc:abc \
|
||||
/c9sdk/build/standalone \
|
||||
/c9bins \
|
||||
/config \
|
||||
/var/www/localhost/heimdall && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.13
|
||||
FROM lsiobase/cloud9:arm32v7-files-alpine as c9files
|
||||
FROM lsiobase/nginx:arm32v7-3.10
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
@@ -8,45 +9,66 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
|
||||
LABEL maintainer="aptalca"
|
||||
|
||||
# environment settings
|
||||
ENV \
|
||||
HOME="/app/heimdall" \
|
||||
NODE_ENV="production"
|
||||
ENV S6_BEHAVIOUR_IF_STAGE2_FAILS=2
|
||||
|
||||
# cloud9
|
||||
COPY --from=c9files /buildout/ /
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
curl \
|
||||
g++ \
|
||||
make \
|
||||
python2 && \
|
||||
echo "**** install runtime packages ****" && \
|
||||
apk add --no-cache \
|
||||
nodejs \
|
||||
npm && \
|
||||
echo "**** install heimdall ****" && \
|
||||
mkdir -p \
|
||||
/app/heimdall && \
|
||||
if [ -z ${HEIMDALL_RELEASE+x} ]; then \
|
||||
HEIMDALL_RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/heimdalljs/commits/master" \
|
||||
| awk '/sha/{print $4;exit}' FS='[""]'); \
|
||||
fi && \
|
||||
curl -o \
|
||||
/tmp/heimdalljs.tar.gz -L \
|
||||
"https://github.com/linuxserver/heimdalljs/archive/${HEIMDALL_RELEASE}.tar.gz" && \
|
||||
tar xf \
|
||||
/tmp/heimdalljs.tar.gz -C \
|
||||
/app/heimdall/ --strip-components=1 && \
|
||||
cd /app/heimdall && \
|
||||
NODE_ENV="development" npm install && \
|
||||
cp .env.example .env && \
|
||||
npm run build && \
|
||||
echo "**** cleanup ****" && \
|
||||
npm prune --production && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/root/.cache \
|
||||
/tmp/*
|
||||
echo "**** install dev packages ****" && \
|
||||
apk add --no-cache \
|
||||
c-ares \
|
||||
curl \
|
||||
git \
|
||||
gnupg \
|
||||
http-parser \
|
||||
libevent \
|
||||
libevent \
|
||||
libstdc++ \
|
||||
libuv \
|
||||
sudo && \
|
||||
echo "**** user perms ****" && \
|
||||
usermod -aG wheel \
|
||||
abc && \
|
||||
echo "auth sufficient pam_shells.so" > /etc/pam.d/chsh && \
|
||||
chsh abc -s /bin/bash && \
|
||||
sed -e \
|
||||
's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/g' \
|
||||
-i /etc/sudoers && \
|
||||
echo "**** install runtime packages ****" && \
|
||||
apk add --no-cache \
|
||||
curl \
|
||||
php7-ctype \
|
||||
php7-pdo_sqlite \
|
||||
php7-tokenizer \
|
||||
php7-zip \
|
||||
tar && \
|
||||
echo "**** install heimdall ****" && \
|
||||
mkdir -p \
|
||||
/c9sdk/build/standalone \
|
||||
/var/www/localhost/heimdall && \
|
||||
git clone \
|
||||
https://github.com/linuxserver/Heimdall.git \
|
||||
/var/www/localhost/heimdall && \
|
||||
echo "**** dev setup and permissions ****" && \
|
||||
echo -e \
|
||||
'\n# Heimdall user authorization\nfastcgi_param PHP_AUTH_USER $remote_user;\nfastcgi_param PHP_AUTH_PW $http_authorization;' >> \
|
||||
/etc/nginx/fastcgi_params && \
|
||||
cp \
|
||||
/var/www/localhost/heimdall/.env.example \
|
||||
/var/www/localhost/heimdall/.env && \
|
||||
php /var/www/localhost/heimdall/artisan key:generate && \
|
||||
sed -i \
|
||||
's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' \
|
||||
/var/www/localhost/heimdall/.env && \
|
||||
chown -R abc:abc \
|
||||
/c9sdk/build/standalone \
|
||||
/c9bins \
|
||||
/config \
|
||||
/var/www/localhost/heimdall && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
||||
805
Jenkinsfile
vendored
805
Jenkinsfile
vendored
File diff suppressed because it is too large
Load Diff
239
README.md
239
README.md
@@ -1,49 +1,26 @@
|
||||
<!-- DO NOT EDIT THIS FILE MANUALLY -->
|
||||
<!-- Please read the https://github.com/linuxserver/docker-heimdall/blob/js/.github/CONTRIBUTING.md -->
|
||||
|
||||
[](https://linuxserver.io)
|
||||
|
||||
[](https://blog.linuxserver.io "all the things you can do with our containers including How-To guides, opinions and much more!")
|
||||
[](https://discord.gg/YWrKVTn "realtime support / chat with the community and the team.")
|
||||
[](https://discourse.linuxserver.io "post on our community forum.")
|
||||
[](https://fleet.linuxserver.io "an online web interface which displays all of our maintained images.")
|
||||
[](https://github.com/linuxserver "view the source for all of our repositories.")
|
||||
[](https://opencollective.com/linuxserver "please consider helping us by either donating or contributing to our budget")
|
||||
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring :-
|
||||
|
||||
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:
|
||||
|
||||
* regular and timely application updates
|
||||
* easy user mappings (PGID, PUID)
|
||||
* custom base image with s6 overlay
|
||||
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
|
||||
* regular security updates
|
||||
* regular and timely application updates
|
||||
* easy user mappings (PGID, PUID)
|
||||
* custom base image with s6 overlay
|
||||
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
|
||||
* regular security updates
|
||||
|
||||
Find us at:
|
||||
|
||||
* [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
|
||||
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
|
||||
* [Discourse](https://discourse.linuxserver.io) - post on our community forum.
|
||||
* [Fleet](https://fleet.linuxserver.io) - an online web interface which displays all of our maintained images.
|
||||
* [GitHub](https://github.com/linuxserver) - view the source for all of our repositories.
|
||||
* [Open Collective](https://opencollective.com/linuxserver) - please consider helping us by either donating or contributing to our budget
|
||||
|
||||
# DEPRECATION NOTICE
|
||||
|
||||
This image is deprecated. We will not offer support for this image and it will not be updated.
|
||||
We recommend switching to the latest tag
|
||||
* [IRC](https://irc.linuxserver.io) - on freenode at `#linuxserver.io`. Our primary support channel is Discord.
|
||||
* [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
|
||||
|
||||
# [linuxserver/heimdall](https://github.com/linuxserver/docker-heimdall)
|
||||
|
||||
[](https://scarf.sh/gateway/linuxserver-ci/docker/linuxserver%2Fheimdall)
|
||||
[](https://github.com/linuxserver/docker-heimdall)
|
||||
[](https://github.com/linuxserver/docker-heimdall/releases)
|
||||
[](https://github.com/linuxserver/docker-heimdall/packages)
|
||||
[](https://gitlab.com/linuxserver.io/docker-heimdall/container_registry)
|
||||
[](https://quay.io/repository/linuxserver.io/heimdall)
|
||||
[](https://hub.docker.com/r/linuxserver/heimdall)
|
||||
[](https://hub.docker.com/r/linuxserver/heimdall)
|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-heimdall/job/js/)
|
||||
[](https://ci-tests.linuxserver.io/linuxserver/heimdall/latest/index.html)
|
||||
[](https://discord.gg/YWrKVTn)
|
||||
[](https://microbadger.com/images/linuxserver/heimdall "Get your own version badge on microbadger.com")
|
||||
[](https://microbadger.com/images/linuxserver/heimdall "Get your own version badge on microbadger.com")
|
||||

|
||||

|
||||
[](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-heimdall/job/master/)
|
||||
[](https://lsio-ci.ams3.digitaloceanspaces.com/linuxserver/heimdall/latest/index.html)
|
||||
|
||||
[Heimdall](https://heimdall.site) is a way to organise all those links to your most used web sites and web applications in a simple way.
|
||||
Simplicity is the key to Heimdall.
|
||||
@@ -53,103 +30,80 @@ Why not use it as your browser start page? It even has the ability to include a
|
||||
|
||||
## Supported Architectures
|
||||
|
||||
We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||
Our images support multiple architectures such as `x86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).
|
||||
|
||||
Simply pulling `lscr.io/linuxserver/heimdall:js` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
Simply pulling `linuxserver/heimdall` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.
|
||||
|
||||
The architectures supported by this image are:
|
||||
|
||||
| Architecture | Available | Tag |
|
||||
| :----: | :----: | ---- |
|
||||
| x86-64 | ✅ | amd64-\<version tag\> |
|
||||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||
| armhf | ✅ | arm32v7-\<version tag\> |
|
||||
| Architecture | Tag |
|
||||
| :----: | --- |
|
||||
| x86-64 | amd64-latest |
|
||||
| arm64 | arm64v8-latest |
|
||||
| armhf | arm32v7-latest |
|
||||
|
||||
## Version Tags
|
||||
|
||||
This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.
|
||||
|
||||
| Tag | Available | Description |
|
||||
| :----: | :----: |--- |
|
||||
| latest | ✅ | Stable Heimdall releases. |
|
||||
| development | ✅ | Latest commit from the github master branch. |
|
||||
## Application Setup
|
||||
|
||||
Access the web gui at http://SERVERIP:PORT
|
||||
|
||||
|
||||
### Adding password protection
|
||||
|
||||
This image now supports password protection through htpasswd. Run the following command on your host to generate the htpasswd file `docker exec -it heimdall htpasswd -c /config/nginx/.htpasswd <username>`. Replace <username> with a username of your choice and you will be asked to enter a password. New installs will automatically pick it up and implement password protected access. Existing users updating their image can delete their site config at `/config/nginx/site-confs/default` and restart the container after updating the image. A new site config with htpasswd support will be created in its place.
|
||||
|
||||
## Usage
|
||||
|
||||
Here are some example snippets to help you get started creating a container.
|
||||
|
||||
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
|
||||
### docker
|
||||
|
||||
```yaml
|
||||
```
|
||||
docker create \
|
||||
--name=heimdall \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Europe/London \
|
||||
-p 80:80 \
|
||||
-p 443:443 \
|
||||
-v </path/to/appdata/config>:/config \
|
||||
--restart unless-stopped \
|
||||
linuxserver/heimdall
|
||||
```
|
||||
|
||||
Using tags, you can switch between the stable releases of Heimdall and the master branch. No tag is required for the latest stable release.
|
||||
Add the development tag, if required, to the linuxserver/heimdall line of the run/create command in the following format, linuxserver/heimdall:development
|
||||
The development tag will be the latest commit in the master branch of Heimdall.
|
||||
HOWEVER , USE THE DEVELOPMENT TAG AT YOUR OWN PERIL !!!!!!!!!
|
||||
|
||||
|
||||
### docker-compose
|
||||
|
||||
Compatible with docker-compose v2 schemas.
|
||||
|
||||
```
|
||||
---
|
||||
version: "2.1"
|
||||
version: "2"
|
||||
services:
|
||||
heimdall:
|
||||
image: lscr.io/linuxserver/heimdall:js
|
||||
image: linuxserver/heimdall
|
||||
container_name: heimdall
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Etc/UTC
|
||||
- TZ=Europe/London
|
||||
volumes:
|
||||
- /path/to/appdata/config:/config
|
||||
- </path/to/appdata/config>:/config
|
||||
ports:
|
||||
- 3000:3000
|
||||
- 80:80
|
||||
- 443:443
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
### docker cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))
|
||||
|
||||
```bash
|
||||
docker run -d \
|
||||
--name=heimdall \
|
||||
-e PUID=1000 \
|
||||
-e PGID=1000 \
|
||||
-e TZ=Etc/UTC \
|
||||
-p 3000:3000 \
|
||||
-v /path/to/appdata/config:/config \
|
||||
--restart unless-stopped \
|
||||
lscr.io/linuxserver/heimdall:js
|
||||
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
|
||||
|
||||
| Parameter | Function |
|
||||
| :----: | --- |
|
||||
| `-p 3000` | http gui |
|
||||
| `-p 80` | http gui |
|
||||
| `-p 443` | https gui |
|
||||
| `-e PUID=1000` | for UserID - see below for explanation |
|
||||
| `-e PGID=1000` | for GroupID - see below for explanation |
|
||||
| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
|
||||
| `-e TZ=Europe/London` | Specify a timezone to use EG Europe/London |
|
||||
| `-v /config` | Contains all relevant configuration files. |
|
||||
|
||||
## Environment variables from files (Docker secrets)
|
||||
|
||||
You can set any environment variable from a file by using a special prepend `FILE__`.
|
||||
|
||||
As an example:
|
||||
|
||||
```bash
|
||||
-e FILE__PASSWORD=/run/secrets/mysecretpassword
|
||||
```
|
||||
|
||||
Will set the environment variable `PASSWORD` based on the contents of the `/run/secrets/mysecretpassword` file.
|
||||
|
||||
## Umask for running applications
|
||||
|
||||
For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting.
|
||||
Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.
|
||||
|
||||
## User / Group Identifiers
|
||||
|
||||
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
||||
@@ -158,83 +112,81 @@ Ensure any volume directories on the host are owned by the same user you specify
|
||||
|
||||
In this instance `PUID=1000` and `PGID=1000`, to find yours use `id user` as below:
|
||||
|
||||
```bash
|
||||
```
|
||||
$ id username
|
||||
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
|
||||
```
|
||||
|
||||
## Docker Mods
|
||||
|
||||
[](https://mods.linuxserver.io/?mod=heimdall "view available mods for this container.") [](https://mods.linuxserver.io/?mod=universal "view available universal mods.")
|
||||
|
||||
## Application Setup
|
||||
|
||||
Access the web gui at http://SERVERIP:PORT
|
||||
|
||||
|
||||
### Adding password protection
|
||||
|
||||
This image now supports password protection through htpasswd. Run the following command on your host to generate the htpasswd file `docker exec -it heimdall htpasswd -c /config/nginx/.htpasswd <username>`. Replace <username> with a username of your choice and you will be asked to enter a password. New installs will automatically pick it up and implement password protected access. Existing users updating their image can delete their site config at `/config/nginx/site-confs/default` and restart the container after updating the image. A new site config with htpasswd support will be created in its place.
|
||||
|
||||
|
||||
We publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.
|
||||
|
||||
## Support Info
|
||||
|
||||
* Shell access whilst the container is running: `docker exec -it heimdall /bin/bash`
|
||||
* To monitor the logs of the container in realtime: `docker logs -f heimdall`
|
||||
* container version number
|
||||
* container version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' heimdall`
|
||||
* image version number
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/heimdall:js`
|
||||
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/heimdall`
|
||||
|
||||
## Updating Info
|
||||
|
||||
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (ie. nextcloud, plex), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
|
||||
|
||||
Below are the instructions for updating containers:
|
||||
Most of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (ie. nextcloud, plex), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.
|
||||
|
||||
Below are the instructions for updating containers:
|
||||
|
||||
### Via Docker Run/Create
|
||||
* Update the image: `docker pull linuxserver/heimdall`
|
||||
* Stop the running container: `docker stop heimdall`
|
||||
* Delete the container: `docker rm heimdall`
|
||||
* Recreate a new container with the same docker create parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
|
||||
* Start the new container: `docker start heimdall`
|
||||
* You can also remove the old dangling images: `docker image prune`
|
||||
|
||||
### Via Docker Compose
|
||||
|
||||
* Update all images: `docker-compose pull`
|
||||
* or update a single image: `docker-compose pull heimdall`
|
||||
* Let compose update all containers as necessary: `docker-compose up -d`
|
||||
* or update a single container: `docker-compose up -d heimdall`
|
||||
* You can also remove the old dangling images: `docker image prune`
|
||||
|
||||
### Via Docker Run
|
||||
|
||||
* Update the image: `docker pull lscr.io/linuxserver/heimdall:js`
|
||||
* Stop the running container: `docker stop heimdall`
|
||||
* Delete the container: `docker rm heimdall`
|
||||
* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)
|
||||
* You can also remove the old dangling images: `docker image prune`
|
||||
|
||||
### Via Watchtower auto-updater (only use if you don't remember the original parameters)
|
||||
|
||||
### Via Watchtower auto-updater (especially useful if you don't remember the original parameters)
|
||||
* Pull the latest image at its tag and replace it with the same env variables in one run:
|
||||
|
||||
```bash
|
||||
```
|
||||
docker run --rm \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
containrrr/watchtower \
|
||||
--run-once heimdall
|
||||
```
|
||||
|
||||
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using Docker Compose.
|
||||
|
||||
* You can also remove the old dangling images: `docker image prune`
|
||||
|
||||
**Note:** We do not endorse the use of Watchtower as a solution to automated updates of existing Docker containers. In fact we generally discourage automated updates. However, this is a useful tool for one-time manual updates of containers where you have forgotten the original parameters. In the long term, we highly recommend using [Docker Compose](https://docs.linuxserver.io/general/docker-compose).
|
||||
|
||||
### Image Update Notifications - Diun (Docker Image Update Notifier)
|
||||
|
||||
* We recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.
|
||||
|
||||
## Building locally
|
||||
|
||||
If you want to make local modifications to these images for development purposes or just to customize the logic:
|
||||
|
||||
```bash
|
||||
If you want to make local modifications to these images for development purposes or just to customize the logic:
|
||||
```
|
||||
git clone https://github.com/linuxserver/docker-heimdall.git
|
||||
cd docker-heimdall
|
||||
docker build \
|
||||
--no-cache \
|
||||
--pull \
|
||||
-t lscr.io/linuxserver/heimdall:js .
|
||||
-t linuxserver/heimdall:latest .
|
||||
```
|
||||
|
||||
The ARM variants can be built on x86_64 hardware using `multiarch/qemu-user-static`
|
||||
|
||||
```bash
|
||||
```
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
```
|
||||
|
||||
@@ -242,22 +194,11 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **12.04.21:** - Add experimental `js` tag for v3.
|
||||
* **10.02.21:** - Revert to alpine 3.12 as php 7.4 broke laravel.
|
||||
* **10.02.21:** - Rebasing to alpine 3.13.
|
||||
* **17.08.20:** - Add php7-curl.
|
||||
* **01.06.20:** - Rebasing to alpine 3.12.
|
||||
* **17.01.20:** - Use nginx from baseimage.
|
||||
* **19.12.19:** - Rebasing to alpine 3.11.
|
||||
* **16.07.19:** - Save laravel.log to /config/log/heimdall.
|
||||
* **26.07.19:** - Modify development branch to include integrated IDE.
|
||||
* **15.07.19:** - Save laravel.log to /config, install heimdall during first start.
|
||||
* **28.06.19:** - Rebasing to alpine 3.10.
|
||||
* **01.04.19:** - Fix permission detect logic.
|
||||
* **26.03.19:** - Install Heimdall during container start to prevent delayed start due to overlayfs bug with recursive chown.
|
||||
* **23.03.19:** - Switching to new Base images, shift to arm32v7 tag.
|
||||
* **15.03.19:** - Clarify docker image tags in readme.
|
||||
* **22.02.19:** - Rebasing to alpine 3.9.
|
||||
* **16.01.18:** - Generate random app key in .env for new installs.
|
||||
* **20.11.18:** - Upgrade baseimage packages during build.
|
||||
* **04.11.18:** - Add php7-zip.
|
||||
* **31.10.18:** - Add queue service.
|
||||
* **17.10.18:** - Symlink avatars folder.
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
project_name: docker-heimdall
|
||||
external_type: github_commit
|
||||
release_type: prerelease
|
||||
release_tag: js
|
||||
ls_branch: js
|
||||
release_tag: development
|
||||
ls_branch: development
|
||||
repo_vars:
|
||||
- EXT_GIT_BRANCH = 'master'
|
||||
- EXT_USER = 'linuxserver'
|
||||
- EXT_REPO = 'heimdalljs'
|
||||
- EXT_REPO = 'Heimdall'
|
||||
- CONTAINER_NAME = 'heimdall'
|
||||
- BUILD_VERSION_ARG = 'HEIMDALL_RELEASE'
|
||||
- LS_USER = 'linuxserver'
|
||||
@@ -21,7 +21,7 @@ repo_vars:
|
||||
- MULTIARCH='true'
|
||||
- CI='true'
|
||||
- CI_WEB='true'
|
||||
- CI_PORT='3000'
|
||||
- CI_PORT='80'
|
||||
- CI_SSL='false'
|
||||
- CI_DELAY='120'
|
||||
- CI_DOCKERENV='TZ=US/Pacific'
|
||||
|
||||
@@ -1,699 +1,68 @@
|
||||
NAME VERSION TYPE
|
||||
@mapbox/node-pre-gyp 1.0.3 npm
|
||||
@my-scope/package-a 0.0.0 npm
|
||||
@my-scope/package-b 0.0.0 npm
|
||||
@quasar/extras 1.10.2 npm
|
||||
@tokenizer/token 0.3.0 npm
|
||||
@types/color-name 1.1.1 npm
|
||||
@types/node 13.13.4 npm
|
||||
JSONStream 1.3.5 npm
|
||||
abbrev 1.1.1 npm
|
||||
accepts 1.3.7 npm
|
||||
agent-base 4.2.1 npm
|
||||
agent-base 4.3.0 npm
|
||||
agent-base 6.0.2 npm
|
||||
agentkeepalive 3.5.2 npm
|
||||
ajv 6.12.6 npm
|
||||
alpine-baselayout 3.2.0-r8 apk
|
||||
alpine-keys 2.4-r0 apk
|
||||
ansi-align 2.0.0 npm
|
||||
ansi-escapes 4.3.1 npm
|
||||
ansi-regex 2.1.1 npm
|
||||
ansi-regex 3.0.0 npm
|
||||
ansi-regex 4.1.0 npm
|
||||
ansi-regex 4.1.1 npm
|
||||
ansi-regex 5.0.0 npm
|
||||
ansi-styles 3.2.1 npm
|
||||
ansi-styles 4.2.1 npm
|
||||
ansicolors 0.3.2 npm
|
||||
ansistyles 0.1.3 npm
|
||||
any-promise 1.3.0 npm
|
||||
apk-tools 2.12.7-r0 apk
|
||||
append-field 1.0.0 npm
|
||||
aproba 1.2.0 npm
|
||||
aproba 2.0.0 npm
|
||||
archy 1.0.0 npm
|
||||
are-we-there-yet 1.1.4 npm
|
||||
are-we-there-yet 1.1.5 npm
|
||||
array-flatten 1.1.1 npm
|
||||
asap 2.0.6 npm
|
||||
asn1 0.2.4 npm
|
||||
assert-plus 1.0.0 npm
|
||||
asynckit 0.4.0 npm
|
||||
aws-sign2 0.7.0 npm
|
||||
aws4 1.11.0 npm
|
||||
aws4 1.8.0 npm
|
||||
axios 0.21.1 npm
|
||||
balanced-match 1.0.0 npm
|
||||
base32.js 0.0.1 npm
|
||||
base64-js 1.3.1 npm
|
||||
bash 5.1.16-r0 apk
|
||||
basic-auth 2.0.1 npm
|
||||
bcrypt 5.0.1 npm
|
||||
bcrypt-pbkdf 1.0.2 npm
|
||||
bin-links 1.1.8 npm
|
||||
bl 4.0.3 npm
|
||||
block-stream 0.0.9 npm
|
||||
bluebird 3.5.5 npm
|
||||
bluebird 3.7.2 npm
|
||||
body-parser 1.19.0 npm
|
||||
boxen 1.3.0 npm
|
||||
brace-expansion 1.1.11 npm
|
||||
brotli-libs 1.0.9-r3 apk
|
||||
buffer 5.4.3 npm
|
||||
buffer 5.6.0 npm
|
||||
buffer-alloc 1.2.0 npm
|
||||
buffer-alloc-unsafe 1.1.0 npm
|
||||
buffer-equal-constant-time 1.0.1 npm
|
||||
buffer-fill 1.0.0 npm
|
||||
buffer-from 1.0.0 npm
|
||||
buffer-from 1.1.1 npm
|
||||
builtins 1.0.3 npm
|
||||
busboy 0.2.14 npm
|
||||
busybox 1.32.1 binary
|
||||
busybox 1.32.1-r9 apk
|
||||
byline 5.0.0 npm
|
||||
byte-size 5.0.1 npm
|
||||
bytes 3.1.0 npm
|
||||
c-ares 1.17.2-r0 apk
|
||||
ca-certificates 20220614-r0 apk
|
||||
ca-certificates-bundle 20220614-r0 apk
|
||||
cacache 12.0.3 npm
|
||||
call-limit 1.1.1 npm
|
||||
camelcase 4.1.0 npm
|
||||
camelcase 5.3.1 npm
|
||||
capture-stack-trace 1.0.0 npm
|
||||
caseless 0.12.0 npm
|
||||
chalk 2.4.1 npm
|
||||
chalk 4.1.0 npm
|
||||
chardet 0.7.0 npm
|
||||
chownr 1.1.4 npm
|
||||
chownr 2.0.0 npm
|
||||
ci-info 1.6.0 npm
|
||||
ci-info 2.0.0 npm
|
||||
cidr-regex 2.0.10 npm
|
||||
cli-boxes 1.0.0 npm
|
||||
cli-color 1.4.0 npm
|
||||
cli-columns 3.1.2 npm
|
||||
cli-cursor 3.1.0 npm
|
||||
cli-table3 0.5.1 npm
|
||||
cli-width 3.0.0 npm
|
||||
cliui 5.0.0 npm
|
||||
clone 1.0.4 npm
|
||||
cmd-shim 3.0.3 npm
|
||||
code-point-at 1.1.0 npm
|
||||
color-convert 1.9.1 npm
|
||||
color-convert 1.9.3 npm
|
||||
color-convert 2.0.1 npm
|
||||
color-name 1.1.3 npm
|
||||
color-name 1.1.4 npm
|
||||
colors 1.3.3 npm
|
||||
columnify 1.5.4 npm
|
||||
combined-stream 1.0.6 npm
|
||||
combined-stream 1.0.8 npm
|
||||
commander 2.20.3 npm
|
||||
concat-map 0.0.1 npm
|
||||
concat-stream 1.6.2 npm
|
||||
config-chain 1.1.12 npm
|
||||
configstore 3.1.5 npm
|
||||
console-control-strings 1.1.0 npm
|
||||
content-disposition 0.5.3 npm
|
||||
content-type 1.0.4 npm
|
||||
cookie 0.4.0 npm
|
||||
cookie-parser 1.4.5 npm
|
||||
cookie-signature 1.0.6 npm
|
||||
copy-concurrently 1.0.5 npm
|
||||
core-js 3.10.1 npm
|
||||
core-util-is 1.0.2 npm
|
||||
coreutils 8.32-r2 apk
|
||||
cors 2.8.5 npm
|
||||
create-error-class 3.0.2 npm
|
||||
cross-spawn 5.1.0 npm
|
||||
crypto-random-string 1.0.0 npm
|
||||
curl 7.79.1-r3 apk
|
||||
cyclist 0.2.2 npm
|
||||
d 1.0.1 npm
|
||||
dashdash 1.14.1 npm
|
||||
debug 2.6.9 npm
|
||||
debug 3.1.0 npm
|
||||
debug 3.2.7 npm
|
||||
debug 4.3.1 npm
|
||||
debuglog 1.0.1 npm
|
||||
decamelize 1.2.0 npm
|
||||
decode-uri-component 0.2.0 npm
|
||||
deep-extend 0.6.0 npm
|
||||
defaults 1.0.3 npm
|
||||
define-properties 1.1.3 npm
|
||||
delayed-stream 1.0.0 npm
|
||||
delegates 1.0.0 npm
|
||||
denque 1.5.1 npm
|
||||
depd 1.1.2 npm
|
||||
depd 2.0.0 npm
|
||||
destroy 1.0.4 npm
|
||||
detect-indent 5.0.0 npm
|
||||
detect-libc 1.0.3 npm
|
||||
detect-newline 2.1.0 npm
|
||||
dezalgo 1.0.3 npm
|
||||
dicer 0.2.5 npm
|
||||
dijkstrajs 1.0.1 npm
|
||||
docker-modem 2.1.4 npm
|
||||
dockerode 3.2.1 npm
|
||||
dot-prop 4.2.1 npm
|
||||
dotenv 5.0.1 npm
|
||||
dotenv 8.2.0 npm
|
||||
dottie 2.0.2 npm
|
||||
duplexer3 0.1.4 npm
|
||||
duplexify 3.6.0 npm
|
||||
ecc-jsbn 0.1.2 npm
|
||||
ecdsa-sig-formatter 1.0.11 npm
|
||||
editor 1.0.0 npm
|
||||
editorconfig 0.15.3 npm
|
||||
ee-first 1.1.1 npm
|
||||
emoji-regex 7.0.3 npm
|
||||
emoji-regex 8.0.0 npm
|
||||
encodeurl 1.0.2 npm
|
||||
encoding 0.1.12 npm
|
||||
end-of-stream 1.4.1 npm
|
||||
end-of-stream 1.4.4 npm
|
||||
env-paths 2.2.0 npm
|
||||
err-code 1.1.2 npm
|
||||
errno 0.1.7 npm
|
||||
es-abstract 1.12.0 npm
|
||||
es-to-primitive 1.2.0 npm
|
||||
es5-ext 0.10.53 npm
|
||||
es6-iterator 2.0.3 npm
|
||||
es6-promise 4.2.8 npm
|
||||
es6-promisify 5.0.0 npm
|
||||
es6-symbol 3.1.3 npm
|
||||
es6-weak-map 2.0.3 npm
|
||||
escape-html 1.0.3 npm
|
||||
escape-string-regexp 1.0.5 npm
|
||||
etag 1.8.1 npm
|
||||
event-emitter 0.3.5 npm
|
||||
execa 0.7.0 npm
|
||||
express 4.17.1 npm
|
||||
ext 1.4.0 npm
|
||||
extend 3.0.2 npm
|
||||
external-editor 3.1.0 npm
|
||||
extsprintf 1.3.0 npm
|
||||
fast-deep-equal 3.1.1 npm
|
||||
fast-deep-equal 3.1.3 npm
|
||||
fast-json-stable-stringify 2.0.0 npm
|
||||
fast-json-stable-stringify 2.1.0 npm
|
||||
figgy-pudding 3.5.1 npm
|
||||
figures 3.2.0 npm
|
||||
file-type 16.5.3 npm
|
||||
finalhandler 1.1.2 npm
|
||||
find-npm-prefix 1.0.2 npm
|
||||
find-up 3.0.0 npm
|
||||
flush-write-stream 1.0.3 npm
|
||||
follow-redirects 1.13.0 npm
|
||||
forever-agent 0.6.1 npm
|
||||
form-data 2.3.2 npm
|
||||
form-data 2.3.3 npm
|
||||
forwarded 0.1.2 npm
|
||||
fresh 0.5.2 npm
|
||||
from2 1.3.0 npm
|
||||
from2 2.3.0 npm
|
||||
fs-constants 1.0.0 npm
|
||||
fs-extra 7.0.1 npm
|
||||
fs-minipass 1.2.7 npm
|
||||
fs-minipass 2.1.0 npm
|
||||
fs-vacuum 1.2.10 npm
|
||||
fs-write-stream-atomic 1.0.10 npm
|
||||
fs.realpath 1.0.0 npm
|
||||
fstream 1.0.12 npm
|
||||
function-bind 1.1.1 npm
|
||||
gauge 2.7.4 npm
|
||||
generate-function 2.3.1 npm
|
||||
genfun 5.0.0 npm
|
||||
gentle-fs 2.3.1 npm
|
||||
get-caller-file 2.0.5 npm
|
||||
get-stream 3.0.0 npm
|
||||
get-stream 4.1.0 npm
|
||||
getpass 0.1.7 npm
|
||||
glob 7.1.6 npm
|
||||
global-dirs 0.1.1 npm
|
||||
got 6.7.1 npm
|
||||
graceful-fs 4.2.3 npm
|
||||
graceful-fs 4.2.4 npm
|
||||
har-schema 2.0.0 npm
|
||||
har-validator 5.1.5 npm
|
||||
has 1.0.3 npm
|
||||
has-flag 3.0.0 npm
|
||||
has-flag 4.0.0 npm
|
||||
has-symbols 1.0.0 npm
|
||||
has-unicode 2.0.1 npm
|
||||
heimdall 3.0.0 npm
|
||||
hosted-git-info 2.8.9 npm
|
||||
http-cache-semantics 3.8.1 npm
|
||||
http-errors 1.7.2 npm
|
||||
http-proxy-agent 2.1.0 npm
|
||||
http-signature 1.2.0 npm
|
||||
https-proxy-agent 2.2.4 npm
|
||||
https-proxy-agent 5.0.0 npm
|
||||
humanize-ms 1.2.1 npm
|
||||
iconv-lite 0.4.23 npm
|
||||
iconv-lite 0.4.24 npm
|
||||
iconv-lite 0.6.3 npm
|
||||
ieee754 1.2.1 npm
|
||||
iferr 0.1.5 npm
|
||||
iferr 1.0.2 npm
|
||||
ignore-walk 3.0.3 npm
|
||||
import-lazy 2.1.0 npm
|
||||
imurmurhash 0.1.4 npm
|
||||
infer-owner 1.0.4 npm
|
||||
inflection 1.12.0 npm
|
||||
inflight 1.0.6 npm
|
||||
inherits 2.0.3 npm
|
||||
inherits 2.0.4 npm
|
||||
ini 1.3.8 npm
|
||||
init-package-json 1.10.3 npm
|
||||
inquirer 7.3.3 npm
|
||||
ip 1.1.5 npm
|
||||
ip-regex 2.1.0 npm
|
||||
ipaddr.js 1.9.0 npm
|
||||
is-callable 1.1.4 npm
|
||||
is-ci 1.2.1 npm
|
||||
is-cidr 3.0.0 npm
|
||||
is-date-object 1.0.1 npm
|
||||
is-fullwidth-code-point 1.0.0 npm
|
||||
is-fullwidth-code-point 2.0.0 npm
|
||||
is-fullwidth-code-point 3.0.0 npm
|
||||
is-installed-globally 0.1.0 npm
|
||||
is-npm 1.0.0 npm
|
||||
is-obj 1.0.1 npm
|
||||
is-path-inside 1.0.1 npm
|
||||
is-promise 2.2.2 npm
|
||||
is-property 1.0.2 npm
|
||||
is-redirect 1.0.0 npm
|
||||
is-regex 1.0.4 npm
|
||||
is-retry-allowed 1.2.0 npm
|
||||
is-stream 1.1.0 npm
|
||||
is-symbol 1.0.2 npm
|
||||
is-typedarray 1.0.0 npm
|
||||
isarray 0.0.1 npm
|
||||
isarray 1.0.0 npm
|
||||
isarray 2.0.5 npm
|
||||
isexe 2.0.0 npm
|
||||
isstream 0.1.2 npm
|
||||
js-beautify 1.13.0 npm
|
||||
jsbn 0.1.1 npm
|
||||
json-parse-better-errors 1.0.2 npm
|
||||
json-schema 0.2.3 npm
|
||||
json-schema 0.4.0 npm
|
||||
json-schema-traverse 0.4.1 npm
|
||||
json-stringify-safe 5.0.1 npm
|
||||
jsonfile 4.0.0 npm
|
||||
jsonparse 1.3.1 npm
|
||||
jsonwebtoken 8.5.1 npm
|
||||
jsprim 1.4.1 npm
|
||||
jsprim 1.4.2 npm
|
||||
jwa 1.4.1 npm
|
||||
jws 3.2.2 npm
|
||||
latest-version 3.1.0 npm
|
||||
lazy-property 1.0.0 npm
|
||||
libacl 2.2.53-r0 apk
|
||||
libattr 2.4.48-r0 apk
|
||||
libc-utils 0.7.2-r3 apk
|
||||
libcipm 4.0.8 npm
|
||||
libcrypto1.1 1.1.1s-r0 apk
|
||||
libcurl 7.79.1-r3 apk
|
||||
libgcc 10.2.1_pre1-r3 apk
|
||||
libintl 0.20.2-r2 apk
|
||||
libnpm 3.0.1 npm
|
||||
libnpmaccess 3.0.2 npm
|
||||
libnpmconfig 1.2.1 npm
|
||||
libnpmhook 5.0.3 npm
|
||||
libnpmorg 1.0.1 npm
|
||||
libnpmpublish 1.1.2 npm
|
||||
libnpmsearch 2.0.2 npm
|
||||
libnpmteam 1.0.2 npm
|
||||
libnpx 10.2.4 npm
|
||||
libproc 3.3.16-r0 apk
|
||||
libssl1.1 1.1.1s-r0 apk
|
||||
libstdc++ 10.2.1_pre1-r3 apk
|
||||
libtls-standalone 2.9.1-r1 apk
|
||||
linux-pam 1.5.1-r0 apk
|
||||
locate-path 3.0.0 npm
|
||||
lock-verify 2.1.0 npm
|
||||
lockfile 1.0.4 npm
|
||||
lodash 4.17.21 npm
|
||||
lodash._baseindexof 3.1.0 npm
|
||||
lodash._baseuniq 4.6.0 npm
|
||||
lodash._bindcallback 3.0.1 npm
|
||||
lodash._cacheindexof 3.0.2 npm
|
||||
lodash._createcache 3.1.2 npm
|
||||
lodash._createset 4.0.3 npm
|
||||
lodash._getnative 3.9.1 npm
|
||||
lodash._root 3.0.1 npm
|
||||
lodash.clonedeep 4.5.0 npm
|
||||
lodash.includes 4.3.0 npm
|
||||
lodash.isboolean 3.0.3 npm
|
||||
lodash.isinteger 4.0.4 npm
|
||||
lodash.isnumber 3.0.3 npm
|
||||
lodash.isplainobject 4.0.6 npm
|
||||
lodash.isstring 4.0.1 npm
|
||||
lodash.once 4.1.1 npm
|
||||
lodash.restparam 3.6.1 npm
|
||||
lodash.union 4.6.0 npm
|
||||
lodash.uniq 4.5.0 npm
|
||||
lodash.without 4.4.0 npm
|
||||
long 4.0.0 npm
|
||||
lowercase-keys 1.0.1 npm
|
||||
lru-cache 4.1.5 npm
|
||||
lru-cache 5.1.1 npm
|
||||
lru-cache 6.0.0 npm
|
||||
lru-queue 0.1.0 npm
|
||||
make-dir 1.3.0 npm
|
||||
make-dir 3.1.0 npm
|
||||
make-fetch-happen 5.0.2 npm
|
||||
meant 1.0.2 npm
|
||||
media-typer 0.3.0 npm
|
||||
memoizee 0.4.14 npm
|
||||
merge-descriptors 1.0.1 npm
|
||||
methods 1.1.2 npm
|
||||
mime 1.6.0 npm
|
||||
mime-db 1.35.0 npm
|
||||
mime-db 1.47.0 npm
|
||||
mime-types 2.1.19 npm
|
||||
mime-types 2.1.30 npm
|
||||
mimic-fn 2.1.0 npm
|
||||
minimatch 3.0.4 npm
|
||||
minimist 1.2.5 npm
|
||||
minimist 1.2.6 npm
|
||||
minipass 2.9.0 npm
|
||||
minipass 3.1.3 npm
|
||||
minizlib 1.3.3 npm
|
||||
minizlib 2.1.2 npm
|
||||
mississippi 3.0.0 npm
|
||||
mkdirp 0.5.5 npm
|
||||
mkdirp 1.0.4 npm
|
||||
mkdirp-classic 0.5.3 npm
|
||||
moment 2.29.1 npm
|
||||
moment-timezone 0.5.33 npm
|
||||
monorepo-symlink-test 0.0.0 npm
|
||||
morgan 1.10.0 npm
|
||||
move-concurrently 1.0.1 npm
|
||||
ms 2.0.0 npm
|
||||
ms 2.1.1 npm
|
||||
ms 2.1.2 npm
|
||||
ms 2.1.3 npm
|
||||
multer 1.4.2 npm
|
||||
musl 1.2.2-r2 apk
|
||||
musl-utils 1.2.2-r2 apk
|
||||
mute-stream 0.0.7 npm
|
||||
mute-stream 0.0.8 npm
|
||||
mylib 0.0.0 npm
|
||||
mysql2 2.3.0 npm
|
||||
named-placeholders 1.1.2 npm
|
||||
ncurses-libs 6.2_p20210109-r1 apk
|
||||
ncurses-terminfo-base 6.2_p20210109-r1 apk
|
||||
needle 2.6.0 npm
|
||||
negotiator 0.6.2 npm
|
||||
next-tick 1.0.0 npm
|
||||
nghttp2-libs 1.42.0-r1 apk
|
||||
node 14.20.1 binary
|
||||
node-addon-api 3.1.0 npm
|
||||
node-fetch 2.6.1 npm
|
||||
node-fetch-npm 2.0.2 npm
|
||||
node-gyp 3.8.0 npm
|
||||
node-gyp 5.1.0 npm
|
||||
node-pre-gyp 0.11.0 npm
|
||||
nodejs 14.20.1-r0 apk
|
||||
nopt 3.0.6 npm
|
||||
nopt 4.0.3 npm
|
||||
nopt 5.0.0 npm
|
||||
normalize-package-data 2.5.0 npm
|
||||
npm 14.20.1-r0 apk
|
||||
npm 6.14.17 npm
|
||||
npm-audit-report 1.3.3 npm
|
||||
npm-bundled 1.1.1 npm
|
||||
npm-cache-filename 1.0.2 npm
|
||||
npm-init 0.0.0 npm
|
||||
npm-install-checks 3.0.2 npm
|
||||
npm-lifecycle 3.1.5 npm
|
||||
npm-logical-tree 1.2.1 npm
|
||||
npm-normalize-package-bin 1.0.1 npm
|
||||
npm-package-arg 6.1.1 npm
|
||||
npm-packlist 1.4.8 npm
|
||||
npm-pick-manifest 3.0.2 npm
|
||||
npm-profile 4.0.4 npm
|
||||
npm-registry-fetch 4.0.7 npm
|
||||
npm-run-path 2.0.2 npm
|
||||
npm-user-validate 1.0.1 npm
|
||||
npmlog 4.1.2 npm
|
||||
number-is-nan 1.0.1 npm
|
||||
nw-pre-gyp-module-test 0.0.1 npm
|
||||
oauth-sign 0.9.0 npm
|
||||
object-assign 4.1.1 npm
|
||||
object-keys 1.0.12 npm
|
||||
object.getownpropertydescriptors 2.0.3 npm
|
||||
on-finished 2.3.0 npm
|
||||
on-headers 1.0.2 npm
|
||||
once 1.4.0 npm
|
||||
onetime 5.1.0 npm
|
||||
opener 1.5.2 npm
|
||||
os-homedir 1.0.2 npm
|
||||
os-tmpdir 1.0.2 npm
|
||||
osenv 0.1.5 npm
|
||||
p-finally 1.0.0 npm
|
||||
p-limit 2.2.0 npm
|
||||
p-limit 2.2.2 npm
|
||||
p-limit 2.3.0 npm
|
||||
p-locate 3.0.0 npm
|
||||
p-try 2.2.0 npm
|
||||
package-json 4.0.1 npm
|
||||
pacote 9.5.12 npm
|
||||
parallel-transform 1.1.0 npm
|
||||
parseurl 1.3.3 npm
|
||||
passport 0.4.1 npm
|
||||
passport-jwt 4.0.0 npm
|
||||
passport-strategy 1.0.0 npm
|
||||
path-exists 3.0.0 npm
|
||||
path-is-absolute 1.0.1 npm
|
||||
path-is-inside 1.0.2 npm
|
||||
path-key 2.0.1 npm
|
||||
path-parse 1.0.6 npm
|
||||
path-parse 1.0.7 npm
|
||||
path-to-regexp 0.1.7 npm
|
||||
pause 0.0.1 npm
|
||||
peek-readable 4.0.1 npm
|
||||
performance-now 2.1.0 npm
|
||||
pify 3.0.0 npm
|
||||
pngjs 3.4.0 npm
|
||||
prepend-http 1.0.4 npm
|
||||
process-nextick-args 2.0.0 npm
|
||||
process-nextick-args 2.0.1 npm
|
||||
procps 3.3.16-r0 apk
|
||||
promise-inflight 1.0.1 npm
|
||||
promise-retry 1.1.1 npm
|
||||
promzard 0.3.0 npm
|
||||
proto-list 1.2.4 npm
|
||||
protoduck 5.0.1 npm
|
||||
proxy-addr 2.0.5 npm
|
||||
prr 1.0.1 npm
|
||||
pseudomap 1.0.2 npm
|
||||
psl 1.1.29 npm
|
||||
psl 1.8.0 npm
|
||||
pump 2.0.1 npm
|
||||
pump 3.0.0 npm
|
||||
pumpify 1.5.1 npm
|
||||
punycode 1.4.1 npm
|
||||
punycode 2.1.1 npm
|
||||
qrcode 1.4.4 npm
|
||||
qrcode-terminal 0.12.0 npm
|
||||
qs 6.5.2 npm
|
||||
qs 6.7.0 npm
|
||||
quasar 1.15.10 npm
|
||||
query-string 6.8.2 npm
|
||||
qw 1.0.1 npm
|
||||
range-parser 1.2.1 npm
|
||||
raw-body 2.4.0 npm
|
||||
rc 1.2.8 npm
|
||||
read 1.0.7 npm
|
||||
read-cmd-shim 1.0.5 npm
|
||||
read-installed 4.0.3 npm
|
||||
read-package-json 2.1.1 npm
|
||||
read-package-tree 5.3.1 npm
|
||||
readable-stream 1.1.14 npm
|
||||
readable-stream 2.3.6 npm
|
||||
readable-stream 2.3.7 npm
|
||||
readable-stream 3.6.0 npm
|
||||
readable-web-to-node-stream 3.0.2 npm
|
||||
readdir-scoped-modules 1.1.0 npm
|
||||
readline 8.1.0-r0 apk
|
||||
registry-auth-token 3.4.0 npm
|
||||
registry-url 3.1.0 npm
|
||||
request 2.88.0 npm
|
||||
request 2.88.2 npm
|
||||
require-directory 2.1.1 npm
|
||||
require-main-filename 2.0.0 npm
|
||||
resolve 1.10.0 npm
|
||||
resolve 1.15.1 npm
|
||||
resolve-from 4.0.0 npm
|
||||
restore-cursor 3.1.0 npm
|
||||
retry 0.10.1 npm
|
||||
retry 0.12.0 npm
|
||||
retry-as-promised 3.2.0 npm
|
||||
rimraf 2.7.1 npm
|
||||
rimraf 3.0.2 npm
|
||||
run-async 2.4.1 npm
|
||||
run-queue 1.0.3 npm
|
||||
rxjs 6.6.2 npm
|
||||
s6-ipcserver 2.10.0.0-r0 apk
|
||||
safe-buffer 5.1.2 npm
|
||||
safe-buffer 5.2.0 npm
|
||||
safe-buffer 5.2.1 npm
|
||||
safer-buffer 2.1.2 npm
|
||||
sax 1.2.4 npm
|
||||
scanelf 1.2.8-r0 apk
|
||||
semver 5.3.0 npm
|
||||
semver 5.7.1 npm
|
||||
semver 6.3.0 npm
|
||||
semver 7.3.5 npm
|
||||
semver-diff 2.1.0 npm
|
||||
send 0.17.1 npm
|
||||
seq-queue 0.0.5 npm
|
||||
sequelize 6.6.2 npm
|
||||
sequelize-cli 6.2.0 npm
|
||||
sequelize-pool 6.1.0 npm
|
||||
serve-static 1.14.1 npm
|
||||
set-blocking 2.0.0 npm
|
||||
setprototypeof 1.1.1 npm
|
||||
sha 3.0.0 npm
|
||||
shadow 4.8.1-r0 apk
|
||||
shebang-command 1.2.0 npm
|
||||
shebang-regex 1.0.0 npm
|
||||
sigmund 1.0.1 npm
|
||||
signal-exit 3.0.2 npm
|
||||
skalibs 2.10.0.0-r0 apk
|
||||
slide 1.1.6 npm
|
||||
smart-buffer 4.1.0 npm
|
||||
socks 2.3.3 npm
|
||||
socks-proxy-agent 4.0.2 npm
|
||||
sortablejs 1.10.2 npm
|
||||
sorted-object 2.0.1 npm
|
||||
sorted-union-stream 2.1.3 npm
|
||||
spdx-correct 3.0.0 npm
|
||||
spdx-exceptions 2.1.0 npm
|
||||
spdx-expression-parse 3.0.0 npm
|
||||
spdx-license-ids 3.0.5 npm
|
||||
speakeasy 2.0.0 npm
|
||||
split-ca 1.0.1 npm
|
||||
split-on-first 1.1.0 npm
|
||||
sqlite3 5.0.2 npm
|
||||
sqlstring 2.3.2 npm
|
||||
ssh2 0.8.9 npm
|
||||
ssh2-streams 0.4.10 npm
|
||||
sshpk 1.14.2 npm
|
||||
sshpk 1.16.1 npm
|
||||
ssl_client 1.32.1-r9 apk
|
||||
ssri 6.0.2 npm
|
||||
statuses 1.5.0 npm
|
||||
stream-each 1.2.2 npm
|
||||
stream-iterate 1.2.0 npm
|
||||
stream-shift 1.0.0 npm
|
||||
streamsearch 0.1.2 npm
|
||||
strict-uri-encode 2.0.0 npm
|
||||
string-width 1.0.2 npm
|
||||
string-width 2.1.1 npm
|
||||
string-width 3.1.0 npm
|
||||
string-width 4.2.0 npm
|
||||
string_decoder 0.10.31 npm
|
||||
string_decoder 1.1.1 npm
|
||||
string_decoder 1.3.0 npm
|
||||
stringify-package 1.0.1 npm
|
||||
strip-ansi 3.0.1 npm
|
||||
strip-ansi 4.0.0 npm
|
||||
strip-ansi 5.2.0 npm
|
||||
strip-ansi 6.0.0 npm
|
||||
strip-eof 1.0.0 npm
|
||||
strip-json-comments 2.0.1 npm
|
||||
strtok3 6.2.4 npm
|
||||
supports-color 5.4.0 npm
|
||||
supports-color 7.2.0 npm
|
||||
tar 2.2.2 npm
|
||||
tar 4.4.13 npm
|
||||
tar 4.4.19 npm
|
||||
tar 6.1.0 npm
|
||||
tar-fs 2.0.1 npm
|
||||
tar-stream 2.1.2 npm
|
||||
term-size 1.2.0 npm
|
||||
text-table 0.2.0 npm
|
||||
through 2.3.8 npm
|
||||
through2 2.0.3 npm
|
||||
timed-out 4.0.1 npm
|
||||
timers-ext 0.1.7 npm
|
||||
tiny-relative-date 1.3.0 npm
|
||||
tmp 0.0.33 npm
|
||||
toidentifier 1.0.0 npm
|
||||
token-types 4.1.1 npm
|
||||
toposort-class 1.0.1 npm
|
||||
tough-cookie 2.4.3 npm
|
||||
tough-cookie 2.5.0 npm
|
||||
tslib 1.10.0 npm
|
||||
tunnel-agent 0.6.0 npm
|
||||
tweetnacl 0.14.5 npm
|
||||
type 1.2.0 npm
|
||||
type 2.1.0 npm
|
||||
type-fest 0.11.0 npm
|
||||
type-is 1.6.18 npm
|
||||
typedarray 0.0.6 npm
|
||||
tzdata 2022f-r1 apk
|
||||
uid-number 0.0.6 npm
|
||||
umask 1.1.0 npm
|
||||
umzug 2.3.0 npm
|
||||
unique-filename 1.1.1 npm
|
||||
unique-slug 2.0.0 npm
|
||||
unique-string 1.0.0 npm
|
||||
universalify 0.1.2 npm
|
||||
unpipe 1.0.0 npm
|
||||
unzip-response 2.0.1 npm
|
||||
update-notifier 2.5.0 npm
|
||||
uri-js 4.2.2 npm
|
||||
uri-js 4.4.0 npm
|
||||
url-parse-lax 1.0.0 npm
|
||||
util-deprecate 1.0.2 npm
|
||||
util-extend 1.0.3 npm
|
||||
util-promisify 2.1.0 npm
|
||||
utils-merge 1.0.1 npm
|
||||
utmps 0.1.0.0-r0 apk
|
||||
uuid 3.3.3 npm
|
||||
uuid 3.4.0 npm
|
||||
uuid 8.3.2 npm
|
||||
validate-npm-package-license 3.0.4 npm
|
||||
validate-npm-package-name 3.0.0 npm
|
||||
validator 10.11.0 npm
|
||||
vary 1.1.2 npm
|
||||
verror 1.10.0 npm
|
||||
vue-async-computed 3.9.0 npm
|
||||
vue-i18n 8.24.3 npm
|
||||
vuedraggable 2.24.3 npm
|
||||
wcwidth 1.0.1 npm
|
||||
which 1.3.1 npm
|
||||
which-module 2.0.0 npm
|
||||
wide-align 1.1.2 npm
|
||||
wide-align 1.1.3 npm
|
||||
widest-line 2.0.1 npm
|
||||
wkx 0.5.0 npm
|
||||
worker-farm 1.7.0 npm
|
||||
wrap-ansi 5.1.0 npm
|
||||
wrappy 1.0.2 npm
|
||||
write-file-atomic 2.4.3 npm
|
||||
xdg-basedir 3.0.0 npm
|
||||
xtend 4.0.1 npm
|
||||
xtend 4.0.2 npm
|
||||
xz 5.2.5-r1 apk
|
||||
xz-libs 5.2.5-r1 apk
|
||||
y18n 4.0.1 npm
|
||||
y18n 4.0.3 npm
|
||||
yallist 2.1.2 npm
|
||||
yallist 3.0.3 npm
|
||||
yallist 3.1.1 npm
|
||||
yallist 4.0.0 npm
|
||||
yargs 13.3.0 npm
|
||||
yargs 14.2.3 npm
|
||||
yargs-parser 13.1.2 npm
|
||||
yargs-parser 15.0.1 npm
|
||||
zlib 1.2.12-r3 apk
|
||||
alpine-baselayout-3.1.2-r0
|
||||
alpine-keys-2.1-r2
|
||||
apache2-utils-2.4.39-r0
|
||||
apk-tools-2.10.4-r1
|
||||
apr-1.6.5-r0
|
||||
apr-util-1.6.1-r6
|
||||
bash-5.0.0-r0
|
||||
busybox-1.30.1-r2
|
||||
ca-certificates-20190108-r0
|
||||
ca-certificates-cacert-20190108-r0
|
||||
coreutils-8.31-r0
|
||||
curl-7.65.1-r0
|
||||
expat-2.2.6-r0
|
||||
git-2.22.0-r0
|
||||
libacl-2.2.52-r6
|
||||
libattr-2.4.48-r0
|
||||
libc-utils-0.7.1-r0
|
||||
libcrypto1.1-1.1.1c-r0
|
||||
libcurl-7.65.1-r0
|
||||
libedit-20190324.3.1-r0
|
||||
libmagic-5.37-r0
|
||||
libressl2.7-libcrypto-2.7.5-r0
|
||||
libressl2.7-libssl-2.7.5-r0
|
||||
libssl1.1-1.1.1c-r0
|
||||
libtls-standalone-2.9.1-r0
|
||||
libuuid-2.33.2-r0
|
||||
libxml2-2.9.9-r2
|
||||
libzip-1.5.2-r0
|
||||
linux-pam-1.3.0-r1
|
||||
logrotate-3.15.0-r0
|
||||
musl-1.1.22-r2
|
||||
musl-utils-1.1.22-r2
|
||||
nano-4.3-r0
|
||||
ncurses-libs-6.1_p20190518-r0
|
||||
ncurses-terminfo-6.1_p20190518-r0
|
||||
ncurses-terminfo-base-6.1_p20190518-r0
|
||||
nghttp2-libs-1.38.0-r0
|
||||
nginx-1.16.0-r2
|
||||
openssl-1.1.1c-r0
|
||||
pcre-8.43-r0
|
||||
pcre2-10.33-r0
|
||||
php7-7.3.6-r0
|
||||
php7-common-7.3.6-r0
|
||||
php7-ctype-7.3.7-r0
|
||||
php7-fileinfo-7.3.6-r0
|
||||
php7-fpm-7.3.6-r0
|
||||
php7-json-7.3.6-r0
|
||||
php7-mbstring-7.3.6-r0
|
||||
php7-openssl-7.3.6-r0
|
||||
php7-pdo-7.3.7-r0
|
||||
php7-pdo_sqlite-7.3.7-r0
|
||||
php7-session-7.3.6-r0
|
||||
php7-simplexml-7.3.6-r0
|
||||
php7-tokenizer-7.3.7-r0
|
||||
php7-xml-7.3.6-r0
|
||||
php7-xmlwriter-7.3.6-r0
|
||||
php7-zip-7.3.7-r0
|
||||
popt-1.16-r7
|
||||
readline-8.0.0-r0
|
||||
scanelf-1.2.3-r0
|
||||
shadow-4.6-r2
|
||||
sqlite-libs-3.28.0-r0
|
||||
ssl_client-1.30.1-r2
|
||||
tar-1.32-r0
|
||||
tzdata-2019a-r0
|
||||
xz-5.2.4-r0
|
||||
xz-libs-5.2.4-r0
|
||||
zlib-1.2.11-r1
|
||||
|
||||
@@ -17,29 +17,29 @@ available_architectures:
|
||||
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
|
||||
- { arch: "{{ arch_armhf }}", tag: "arm32v7-latest"}
|
||||
|
||||
project_deprecation_status: true
|
||||
project_deprecation_message: |
|
||||
We recommend switching to the latest tag
|
||||
|
||||
# development version
|
||||
development_versions: true
|
||||
development_versions_items:
|
||||
- { tag: "latest", desc: "Stable Heimdall releases." }
|
||||
- { tag: "development", desc: "Latest commit from the github master branch." }
|
||||
|
||||
# container parameters
|
||||
common_param_env_vars_enabled: true
|
||||
param_container_name: "{{ project_name }}"
|
||||
param_usage_include_vols: true
|
||||
param_volumes:
|
||||
- { vol_path: "/config", vol_host_path: "/path/to/appdata/config", desc: "Contains all relevant configuration files." }
|
||||
- { vol_path: "/config", vol_host_path: "</path/to/appdata/config>", desc: "Contains all relevant configuration files." }
|
||||
param_usage_include_ports: true
|
||||
param_ports:
|
||||
- { external_port: "3000", internal_port: "3000", port_desc: "http gui" }
|
||||
- { external_port: "80", internal_port: "80", port_desc: "http gui" }
|
||||
- { external_port: "443", internal_port: "443", port_desc: "https gui" }
|
||||
param_usage_include_env: true
|
||||
param_env_vars:
|
||||
- { env_var: "TZ", env_value: "Europe/London", desc: "Specify a timezone to use EG Europe/London"}
|
||||
|
||||
# optional parameters
|
||||
optional_block_1: true
|
||||
optional_block_1_items:
|
||||
- |
|
||||
Using tags, you can switch between the stable releases of Heimdall and the master branch. No tag is required for the latest stable release.
|
||||
Add the development tag, if required, to the linuxserver/heimdall line of the run/create command in the following format, linuxserver/heimdall:development
|
||||
The development tag will be the latest commit in the master branch of Heimdall.
|
||||
HOWEVER , USE THE DEVELOPMENT TAG AT YOUR OWN PERIL !!!!!!!!!
|
||||
|
||||
# application setup block
|
||||
app_setup_block_enabled: true
|
||||
app_setup_block: |
|
||||
@@ -52,22 +52,11 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "12.04.21:", desc: "Add experimental `js` tag for v3." }
|
||||
- { date: "10.02.21:", desc: "Revert to alpine 3.12 as php 7.4 broke laravel." }
|
||||
- { date: "10.02.21:", desc: "Rebasing to alpine 3.13." }
|
||||
- { date: "17.08.20:", desc: "Add php7-curl." }
|
||||
- { date: "01.06.20:", desc: "Rebasing to alpine 3.12." }
|
||||
- { date: "17.01.20:", desc: "Use nginx from baseimage." }
|
||||
- { date: "19.12.19:", desc: "Rebasing to alpine 3.11." }
|
||||
- { date: "16.07.19:", desc: "Save laravel.log to /config/log/heimdall." }
|
||||
- { date: "26.07.19:", desc: "Modify development branch to include integrated IDE." }
|
||||
- { date: "15.07.19:", desc: "Save laravel.log to /config, install heimdall during first start." }
|
||||
- { date: "28.06.19:", desc: "Rebasing to alpine 3.10." }
|
||||
- { date: "01.04.19:", desc: "Fix permission detect logic." }
|
||||
- { date: "26.03.19:", desc: "Install Heimdall during container start to prevent delayed start due to overlayfs bug with recursive chown." }
|
||||
- { date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag." }
|
||||
- { date: "15.03.19:", desc: "Clarify docker image tags in readme." }
|
||||
- { date: "22.02.19:", desc: "Rebasing to alpine 3.9." }
|
||||
- { date: "16.01.18:", desc: "Generate random app key in .env for new installs." }
|
||||
- { date: "20.11.18:", desc: "Upgrade baseimage packages during build." }
|
||||
- { date: "04.11.18:", desc: "Add php7-zip." }
|
||||
- { date: "31.10.18:", desc: "Add queue service." }
|
||||
- { date: "17.10.18:", desc: "Symlink avatars folder." }
|
||||
|
||||
43
root/defaults/default
Normal file
43
root/defaults/default
Normal file
@@ -0,0 +1,43 @@
|
||||
## Version 2018/03/06 - Changelog: https://github.com/linuxserver/docker-heimdall/commits/master/root/defaults/default
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
|
||||
listen 443 ssl;
|
||||
|
||||
root /var/www/localhost/heimdall/public;
|
||||
index index.php index.html index.htm;
|
||||
|
||||
server_name _;
|
||||
|
||||
ssl_certificate /config/keys/cert.crt;
|
||||
ssl_certificate_key /config/keys/cert.key;
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
error_page 599 = @noauth;
|
||||
|
||||
location / {
|
||||
if (!-f /config/nginx/.htpasswd) {
|
||||
return 599;
|
||||
}
|
||||
auth_basic "Restricted";
|
||||
auth_basic_user_file /config/nginx/.htpasswd;
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location @noauth {
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
# With php5-cgi alone:
|
||||
fastcgi_pass 127.0.0.1:9000;
|
||||
# With php5-fpm:
|
||||
#fastcgi_pass unix:/var/run/php5-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
|
||||
}
|
||||
}
|
||||
98
root/defaults/nginx.conf
Normal file
98
root/defaults/nginx.conf
Normal file
@@ -0,0 +1,98 @@
|
||||
user abc;
|
||||
worker_processes 4;
|
||||
pid /run/nginx.pid;
|
||||
include /etc/nginx/modules/*.conf;
|
||||
|
||||
events {
|
||||
worker_connections 768;
|
||||
# multi_accept on;
|
||||
}
|
||||
|
||||
http {
|
||||
|
||||
##
|
||||
# Basic Settings
|
||||
##
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
types_hash_max_size 2048;
|
||||
# server_tokens off;
|
||||
|
||||
# server_names_hash_bucket_size 64;
|
||||
# server_name_in_redirect off;
|
||||
|
||||
client_max_body_size 0;
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
##
|
||||
# Logging Settings
|
||||
##
|
||||
|
||||
access_log /config/log/nginx/access.log;
|
||||
error_log /config/log/nginx/error.log;
|
||||
|
||||
##
|
||||
# Gzip Settings
|
||||
##
|
||||
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
|
||||
# gzip_vary on;
|
||||
# gzip_proxied any;
|
||||
# gzip_comp_level 6;
|
||||
# gzip_buffers 16 8k;
|
||||
# gzip_http_version 1.1;
|
||||
# gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
|
||||
##
|
||||
# nginx-naxsi config
|
||||
##
|
||||
# Uncomment it if you installed nginx-naxsi
|
||||
##
|
||||
|
||||
#include /etc/nginx/naxsi_core.rules;
|
||||
|
||||
##
|
||||
# nginx-passenger config
|
||||
##
|
||||
# Uncomment it if you installed nginx-passenger
|
||||
##
|
||||
|
||||
#passenger_root /usr;
|
||||
#passenger_ruby /usr/bin/ruby;
|
||||
|
||||
##
|
||||
# Virtual Host Configs
|
||||
##
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
include /config/nginx/site-confs/*;
|
||||
}
|
||||
|
||||
|
||||
#mail {
|
||||
# # See sample authentication script at:
|
||||
# # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript
|
||||
#
|
||||
# # auth_http localhost/auth.php;
|
||||
# # pop3_capabilities "TOP" "USER";
|
||||
# # imap_capabilities "IMAP4rev1" "UIDPLUS";
|
||||
#
|
||||
# server {
|
||||
# listen localhost:110;
|
||||
# protocol pop3;
|
||||
# proxy on;
|
||||
# }
|
||||
#
|
||||
# server {
|
||||
# listen localhost:143;
|
||||
# protocol imap;
|
||||
# proxy on;
|
||||
# }
|
||||
#}
|
||||
daemon off;
|
||||
@@ -1,32 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
mkdir -p /config/uploads
|
||||
|
||||
if [ ! -f "/config/env" ]; then
|
||||
cp /app/heimdall/.env.example /config/env
|
||||
rm -rf /app/heimdall/.env
|
||||
ln -sf /config/env /app/heimdall/.env
|
||||
|
||||
SECRET_KEY=$(date +%s | sha256sum | base64 | head -c 32)
|
||||
sed -i 's|JWT_SECRET=CHANGE_ME|JWT_SECRET='${SECRET_KEY}'|g' /config/env
|
||||
sed -i 's|DB_TYPE=mysql|DB_TYPE=sqlite|g' /config/env
|
||||
sed -i 's|DB_STORAGE=$|DB_STORAGE=/config/app.db|g' /config/env
|
||||
sed -i 's|UPLOAD_DIR=$|UPLOAD_DIR=/config/uploads|g' /config/env
|
||||
|
||||
echo "Running migrations. . ."
|
||||
cd /app/heimdall
|
||||
npm run db:migrate
|
||||
npm run db:seed
|
||||
else
|
||||
cd /app/heimdall
|
||||
npm run db:migrate
|
||||
fi
|
||||
|
||||
# permissions
|
||||
echo "Fixing /config permissions. . ."
|
||||
chown -R abc:abc \
|
||||
/config
|
||||
|
||||
# chown the app directory, but not node_modules
|
||||
echo "Fixing app permissions. . ."
|
||||
find /app/heimdall -maxdepth 1 ! -name node_modules ! -name heimdall -exec chown -R abc:abc '{}' \;
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
echo '
|
||||
╔════════════════════════════════════════════════════╗
|
||||
╠════════════════════════════════════════════════════╣
|
||||
║ ║
|
||||
║ This image is deprecated. ║
|
||||
║ We will not offer support for this image ║
|
||||
║ and it will not be updated. ║
|
||||
║ ║
|
||||
╠════════════════════════════════════════════════════╣
|
||||
╚════════════════════════════════════════════════════╝
|
||||
|
||||
We recommend switching to the latest tag
|
||||
|
||||
|
||||
══════════════════════════════════════════════════════'
|
||||
6
root/etc/services.d/cloud9/run
Normal file
6
root/etc/services.d/cloud9/run
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
cd /c9sdk
|
||||
HOME=/c9bins exec \
|
||||
s6-setuidgid abc \
|
||||
/c9bins/.c9/node/bin/node server.js --listen 0.0.0.0 -p 8000 -w /var/www/localhost/heimdall -a :
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
cd /app/heimdall || exit
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc npm run server
|
||||
4
root/etc/services.d/queue/run
Normal file
4
root/etc/services.d/queue/run
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc php /var/www/localhost/heimdall/artisan queue:work database --sleep=3 --tries=3
|
||||
Reference in New Issue
Block a user