Add Heimdall

This commit is contained in:
Jean Froment 2022-02-24 22:09:30 +01:00
parent 34baae3af1
commit a39ea3d0d7
4 changed files with 24 additions and 1 deletions

View File

@ -31,6 +31,7 @@ seedbox and personal media server.
| Portainer | portainer.yourdomain.com | [portainer/portainer](https://hub.docker.com/r/portainer/portainer) | *latest* | Container management| | Portainer | portainer.yourdomain.com | [portainer/portainer](https://hub.docker.com/r/portainer/portainer) | *latest* | Container management|
| Netdata | netdata.yourdomain.com | [netdata/netdata](https://hub.docker.com/r/netdata/netdata) | *latest* | Server monitoring | | Netdata | netdata.yourdomain.com | [netdata/netdata](https://hub.docker.com/r/netdata/netdata) | *latest* | Server monitoring |
| Duplicati | duplicati.yourdomain.com | [linuxserver/duplicati](https://hub.docker.com/r/linuxserver/duplicati)| *latest* | Backups | | Duplicati | duplicati.yourdomain.com | [linuxserver/duplicati](https://hub.docker.com/r/linuxserver/duplicati)| *latest* | Backups |
| Heimdall | yourdomain.com | [linuxserver/heimdall](https://hub.docker.com/r/linuxserver/heimdall)| *latest* | Main dashboard |
| Gluetun | - | [qmcgaw/gluetun](https://hub.docker.com/r/qmcgaw/gluetun)| *latest* | VPN client (still WIP...) | | Gluetun | - | [qmcgaw/gluetun](https://hub.docker.com/r/qmcgaw/gluetun)| *latest* | VPN client (still WIP...) |
The front-end reverse proxy (Traefik - **check the next section if you have already the seedbox with Traefik v1**) routes based on the lowest level subdomain The front-end reverse proxy (Traefik - **check the next section if you have already the seedbox with Traefik v1**) routes based on the lowest level subdomain

View File

@ -24,4 +24,5 @@ portainer: enable
netdata: enable netdata: enable
duplicati: enable duplicati: enable
syncthing: disable syncthing: disable
heimdall: disable
gluetun: disable gluetun: disable

21
services/heimdall.yaml Normal file
View File

@ -0,0 +1,21 @@
services:
heimdall:
image: lscr.io/linuxserver/heimdall
container_name: heimdall
restart: always
volumes:
- configheimdall:/config
environment:
- PGID=${PGID}
- PUID=${PUID}
- TZ=${TZ}
labels:
- "traefik.enable=true"
- "traefik.http.routers.heimdall.rule=Host(`${TRAEFIK_DOMAIN}`)"
- "traefik.http.routers.heimdall.middlewares=common-auth@file"
volumes:
configheimdall:
driver: local-persist
driver_opts:
mountpoint: $HOST_CONFIG_PATH/heimdall

View File

@ -25,7 +25,7 @@ find $1 -maxdepth 10 -type f | grep -v -E "\.webm$|\.flv$|\.vob$|\.ogg$|\.ogv$|\
while true; do while true; do
read -p "[$0] Do you want to REMOVE these files?" yn read -p "[$0] Do you want to REMOVE these files?" yn
case $yn in case $yn in
[Yy]* ) find $1 -maxdepth 10 -type f | grep -v -E "\.webm$|\.flv$|\.vob$|\.ogg$|\.ogv$|\.drc$|\.gifv$|\.mng$|\.avi$|\.mov$|\.qt$|\.wmv$|\.yuv$|\.rm$|\.rmvb$|/.asf$|\.amv$|\.mp4$|\.m4v$|\.mp*$|\.m?v$|\.svi$|\.3gp$|\.flv$|\.f4v$" | xargs rm -f; break;; [Yy]* ) find $1 -maxdepth 10 -type f | grep -v -E "\.webm$|\.flv$|\.vob$|\.ogg$|\.ogv$|\.drc$|\.gifv$|\.mng$|\.avi$|\.mov$|\.qt$|\.wmv$|\.yuv$|\.rm$|\.rmvb$|/.asf$|\.amv$|\.mp4$|\.m4v$|\.mp*$|\.m?v$|\.svi$|\.3gp$|\.flv$|\.f4v$" | xargs -0 rm -f; break;;
[Nn]* ) echo "[$0] Skipping this part. Continuing...";; [Nn]* ) echo "[$0] Skipping this part. Continuing...";;
* ) echo "[$0] Please answer yes or no.";; * ) echo "[$0] Please answer yes or no.";;
esac esac