change configuration has.conf/lms
All checks were successful
Portainer stack nginx / deploy (push) Successful in 3s
All checks were successful
Portainer stack nginx / deploy (push) Successful in 3s
This commit is contained in:
20
README.md
20
README.md
@@ -17,7 +17,7 @@ Using [code-server docker container](#code-server) for Development / Maintenance
|
|||||||
|
|
||||||
- [Services](#services)
|
- [Services](#services)
|
||||||
- [Docker](#docker)
|
- [Docker](#docker)
|
||||||
- [External volumes](#external-volumes)
|
- [Volumes](#volumes)
|
||||||
- [Portainer](#portainer)
|
- [Portainer](#portainer)
|
||||||
- [Promtail](#promtail)
|
- [Promtail](#promtail)
|
||||||
- [Telegraf](#telegraf)
|
- [Telegraf](#telegraf)
|
||||||
@@ -41,11 +41,17 @@ Using [code-server docker container](#code-server) for Development / Maintenance
|
|||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
### External volumes
|
### Volumes
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
docker volume create --driver local --opt type=none --opt device=/home/admin/repos --opt o=bind hostfs_home_admin_repos
|
# requires mount /mnt/media@sshfs:nas.lan
|
||||||
docker volume create --driver local --opt type=none --opt device=/mnt/media@sshfs:nas.lan --opt o=bind music
|
# required by LMS service
|
||||||
|
docker volume create --driver local --opt type=none --opt device=/mnt/media@sshfs:nas.lan/music --opt o=bind music
|
||||||
|
|
||||||
|
|
||||||
|
# required by code-server service
|
||||||
|
# required by Promtail service
|
||||||
|
# required by Telegraf service
|
||||||
docker volume create --driver local --opt type=none --opt device=/ --opt o=bind hostfs
|
docker volume create --driver local --opt type=none --opt device=/ --opt o=bind hostfs
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -133,6 +139,8 @@ networks:
|
|||||||
|
|
||||||
[Check git repo](/marcio.fernandes/lms) for more information how to setup Lyrion Music Server docker container. Or [git repo](/marcio.fernandes/homeassistant#squeezebox-lyrion-music-server) for more information about home assistant integration.
|
[Check git repo](/marcio.fernandes/lms) for more information how to setup Lyrion Music Server docker container. Or [git repo](/marcio.fernandes/homeassistant#squeezebox-lyrion-music-server) for more information about home assistant integration.
|
||||||
|
|
||||||
|
Requires [music docker volume](#volumes).
|
||||||
|
|
||||||
### Mosquitto
|
### Mosquitto
|
||||||
|
|
||||||
[Git Repo](https://git.limbosolutions.com/marcio.fernandes/mosquitto)
|
[Git Repo](https://git.limbosolutions.com/marcio.fernandes/mosquitto)
|
||||||
@@ -239,7 +247,9 @@ usermod -aG docker admin
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# /etc/fstab
|
# /etc/fstab
|
||||||
#sshfs#media@nas.lan:/home/media /mnt/media@sshfs:nas.lan fuse defaults,_netdev,allow_other,follow_symlinks 0 0
|
|
||||||
|
# used by docker volume music
|
||||||
|
sshfs#media@nas.lan:/home/media /mnt/media@sshfs:nas.lan fuse defaults,_netdev,allow_other,follow_symlinks 0 0
|
||||||
```
|
```
|
||||||
|
|
||||||
### ssh
|
### ssh
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ server {
|
|||||||
|
|
||||||
|
|
||||||
location ^~ /lms/ {
|
location ^~ /lms/ {
|
||||||
proxy_pass http://localhost:9000/;
|
proxy_pass http://lms-lms-1:9000/;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|||||||
Reference in New Issue
Block a user