You can enter any additional docker arguments into the addon settings. Just add "-v /whatever/path/on/host:/music" into the additional parameters field and your music will be available at "/music" inside the container
Posts by aptalca
-
-
It should be fine because the ssd should be mounted before docker starts. Rpi4 has enough power for an external ssd. Not sure about rpi3, but you can use a powered sata adapter worst case.
Keep in mind that rpi4 can also boot from an external ssd, so no need to deal with the sd card at all. A sata adapter with uasp does wonders for overall speed.
-
root issue = the main issue
Just tested on my machine
Installed the mariadb addon (if it starts with no data in its config folder, it pops open the settings for password entry)
Entered a root password, along with a db name, user name and user password.
Installed nextcloud, didn't change any settings.
Waited for both to be started up and gave it another minute (watched the logs until services were ready for both)
Then I accessed the nextcloud gui on port 443 (https), put in a user and password, selected mysql/mariadb, entered the db and user details and for address, entered "mariadb:3306". Also unchecked the box for installing recommended apps. It connected fine and was set up within a minute or so (may take a few minutes on slower hardware).
When I exec into nextcloud, I can ping "mariadb" successfully:
Code# docker exec -it nextcloud ping mariadb PING mariadb (172.19.0.2): 56 data bytes 64 bytes from 172.19.0.2: seq=0 ttl=64 time=0.119 ms 64 bytes from 172.19.0.2: seq=1 ttl=64 time=0.094 ms 64 bytes from 172.19.0.2: seq=2 ttl=64 time=0.121 ms ^C --- mariadb ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.094/0.111/0.121 msThe /etc/resolv.conf in nextcloud contains the following:
Code# docker exec -it nextcloud cat /etc/resolv.conf search localdomain nameserver 127.0.0.11 options ndots:0So really, out of the box, it should just work.
-
-
Hi guys, you're been very nice in reply, but I'm a step back of it. I've already searched the forum , found your tutorial elonesna and looked too the LinuxServer.io general docker info.
But now I'm running in circles. The basic question here is: How I access those add-ons direct in gui of kodi in my non smart tv? There is any away to put icons like others add-on to start from ? I need other add-on to run "docker ps" command?
Thks
The linuxserver addons are services, they are always running. You don't need to start/stop them. Therefore there is no gui control
-
Hi,
I've rpi42gb with kod1 18.9 LE 9.2.6 and a non smart tv . After install docker and some inuxserver.io containers, I can find how to start them.
What I miss?
Thks
Linuxserver addons manage the containers via systemd.
See here for more info: LinuxServer.io docker addons and general docker info
-
All the persistent files are stored in the /config and /data folders inside the container, which are mapped to host paths through addon settings
-
My guess is, it's due to curl when trying to connect to the domain, trying to go out the wan and try to come back in through the router and into the letsencrypt container.
Assuming the cron tasks are running inside the nextcloud container, see if you can curl "https://localhost/remote.php/dav/calendars/<username>/personal?export" instead, so it tries to connect directly
-
Yes, you need a matching docker image for your arch. Some images (most of linuxserver.io ones) are multi-arch, meaning, when you pull an image, it automatically retrieves the correct version for your arch. But most of the random images you find on docker hub are x86_64 only.
-
If you post what you tried and what didn't work, we can give pointers.
-
I honestly don't recommend running dhcp in a docker container, let alone on libreelec. Your dhcp should really be on a dedicated device like a router or pfsense.
I use adguardhome as just a dns server for ad blocking, which is what it does best.
With regards to the 172.x.x.x address, your correct that is an internal docker network ip. But, all the ports that you define in the addon settings should be mapped at the libreelec ip, so you need to use the libreelec lan ip and the ports you mapped to access adguardhome.
For instance if you map port 53 for dns, on another device, you'd use "libreelec-lan-ip:53" as the adguardhome dns address
-
You're following a really old article and making manual modifications to the docker service and of course it is breaking.
Skip modifying the docker service. It works fine out of the box.
Just install the docker addon and do "docker run hello-world" and you'll see.
-
-
[user='138']
Sorry, forgot to mention but I am using autostart to mount remote nfs volumes. System.d prolongs boot time if the remote server is down.
It's either going to wait until remote paths are mounted, or it's going to start without them (as it does now). Can't have it both ways.
-
You did not say what method (nfs, smb, etc.) and you did not say how they are mounted (systemd?)
If systemd, set its service to start before the docker service
Also fyi, linuxserver does not recommend or support config files to reside on remote shares. Media folders however can be on remote shares.
-
Display More
Hi,
I would like to plug my old printer in my rpi4 on which libre-elec is installed and then print
All the documentation I found about docker can only install images from linuxserver.io
But I'd like to install this one Docker Hub
Is there a way ?
Or should I go with linuxserver/rdesktop with extra port redirection and install CUPS in it ?
Thanks for any help
Linuxserver.io ones can be installed via addons for added convenience and ease of use but you can use any docker image via command line (docker run) or portainer on libreelec (assuming you're using the correct arch)
-
There are docker addons that do nginx/php and mariadb (among many others)
See here: LinuxServer.io docker addons and general docker info
-
Hi,
Now I'm facing anothher issue. I would like to access my Nextcloud instance via (for example) https://www.domain.duckdns.org:2222.
For that, I've forwarded port 2222 to port 443 on my router, as Nextcloud and letsencrypt are accessed on port 443. But it doesn't seem to be sufficient, I've got a timeout error when trying to access Nextcloud on port 2222 and even from my local network.
Where am I wrong? Do I have to change some settings somewhere on nextcloud and/or letsencrypt? Or even to rebuild the containers?
Thanks
Nextcloud has its own auto redirects for security purposes and you'll have to modify those in it's config file. You may have to do other stuff on the nginx side but I'm not sure.
All of that automation was done for port 443, ymmv with a custom port