this post was submitted on 31 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

I have a nas (synology) and a mini pc(will install linux + docker) then I would like to use my nas drive as the storage (like storing photos) then use the docker on my linux machine and mount nas drive volume. But this should work when I manage on my linux machine.

It will be easier to manage on my nas then use my linux machine as a node/worker for running containers. So if you have any suggestions for this concept please let me know

you are viewing a single comment's thread
view the rest of the comments
[–] peteyhasnoshoes@alien.top 1 points 1 year ago (2 children)

You may be able to use swarm mode or k8s with your NAS as a master and other box as as a worker, but really theres very little point. As others have said, exporting volumes from your NAS via NFS and managing the worker using portainer or ssh to manage the worker directly might be better.

This kind of situation, where you have heterogeneous management systems with cross-cutting concerns is a great fit for Ansible - your playbook could provision the NFS volumes form the NAS and push the compose files to the worker at the same time, saving you from having to log in on both

[–] cyl3el2cleal2@alien.top 1 points 1 year ago (1 children)

I will try swarm mode. K8S is too heavy. Portainer is a great tool but I need to ssh for mounting drive every time I want to use NFS.

[–] heehoX@alien.top 1 points 1 year ago

You don't have to SSH everytime. You can just add the NFS share to your fstab and it will automatically mount when you boot your machine.