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:
22
README.md
22
README.md
@@ -17,7 +17,7 @@ Using [code-server docker container](#code-server) for Development / Maintenance
|
||||
|
||||
- [Services](#services)
|
||||
- [Docker](#docker)
|
||||
- [External volumes](#external-volumes)
|
||||
- [Volumes](#volumes)
|
||||
- [Portainer](#portainer)
|
||||
- [Promtail](#promtail)
|
||||
- [Telegraf](#telegraf)
|
||||
@@ -41,11 +41,17 @@ Using [code-server docker container](#code-server) for Development / Maintenance
|
||||
|
||||
### Docker
|
||||
|
||||
### External volumes
|
||||
### Volumes
|
||||
|
||||
``` bash
|
||||
docker volume create --driver local --opt type=none --opt device=/home/admin/repos --opt o=bind hostfs_home_admin_repos
|
||||
docker volume create --driver local --opt type=none --opt device=/mnt/media@sshfs:nas.lan --opt o=bind music
|
||||
# requires mount /mnt/media@sshfs:nas.lan
|
||||
# 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
|
||||
```
|
||||
|
||||
@@ -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.
|
||||
|
||||
Requires [music docker volume](#volumes).
|
||||
|
||||
### Mosquitto
|
||||
|
||||
[Git Repo](https://git.limbosolutions.com/marcio.fernandes/mosquitto)
|
||||
@@ -238,8 +246,10 @@ usermod -aG docker admin
|
||||
### fstab
|
||||
|
||||
```bash
|
||||
#/etc/fstab
|
||||
#sshfs#media@nas.lan:/home/media /mnt/media@sshfs:nas.lan fuse defaults,_netdev,allow_other,follow_symlinks 0 0
|
||||
# /etc/fstab
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user