Rock64 as multiple server
#1
Hello -

I want to set up a Rock64 mini server with NextcloudPi and an extra web server for myself.
In front of both could be a a NGinX as a proxy server so that the subdomains can be reached without port information. My idea is to use Docker and set up NGinX, NextcloudPi and the web server in different containers. Does the setup make sense?Or how can it be better configured?
I don't know Linux very well yet. Are there any instructions or hints for this?
I want to learn and constantly improve the system but not run into a dead end...

Any help would be appreciated!
  Reply
#2
(10-30-2018, 01:21 AM)Sputnik Wrote: Hello -

I want to set up a Rock64 mini server with NextcloudPi and an extra web server for myself.
In front of both could be a a NGinX as a proxy server so that the subdomains can be reached without port information. My idea is to use Docker and set up NGinX, NextcloudPi and the web server in different containers. Does the setup make sense?Or how can it be better configured?
I don't know Linux very well yet. Are there any instructions or hints for this?
I want to learn and constantly improve the system but not run into a dead end...

Any help would be appreciated!

Im using a rock64 4gb with OMV and a dozen dockers over it, in your case you can use this instead of nextcloudpi since im guessing that if its made for the pi its made for armhf, any docker you use on the rock64 you want to use em with either arm64 or aarch64 for best performance, you can add any web server docker after that, im personally using a wordpress docker for extra simplicity, omv includes between their own plugins a docker plugin and they plan to maintain it for the time being since its a widelly used feature, i cant think of an easier OS to start using containers on the rock64 for a newbie...a few tips to keep in mind, docker is very VERY annoying to allow any given docker to communicate with the host OS BUT the communicatiuon between dockers is very easy so if you take this path try to install EVERYTHING you plan to use on containers, not on the host OS, there are TONS of aarch64 containers everywhere to try and use...

A workaround for the mentioned limitation is to let the containers use the host network cards directly, its a bit risky because you ""break"" the containerization in regards to networking, possibly opening unneded ports or causing network problems on the host...

And about the subdomains you can look up for macvlan networking on docker, basically it gives any given docker an ip on your network and then you can set up on your router a static adress with a name wich in fact makes that name resolve by dns, after that you only need to change the port on your service if it uses anything other than port 80 (or use docker to redirect said internal port to 80 external)

I gave you a lot of ideas, go my little grasshopper and practice that google-fu
  Reply
#3
Thank you very much for these valuable hints. These are a good starting point for me and give me some confidence with my first steps on this terrain.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Rock64 running OMV, how to setup RTL8812AU WiFi? electrosam 2 63 07-16-2019, 04:03 PM
Last Post: ayufan
  Rock64 for video surveillance martinschm 3 125 07-06-2019, 03:26 AM
Last Post: martinschm
  Rock64 random freezes BTB 3 142 07-01-2019, 10:17 AM
Last Post: Luke
  Purchase Rock64 V3? richardk 3 178 06-28-2019, 05:04 PM
Last Post: Luke
Sad Rock64 Seafile Installation klaus_nase 2 96 06-27-2019, 09:11 AM
Last Post: klaus_nase
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? hunderteins 5 323 06-22-2019, 12:36 PM
Last Post: redfish
  Another non-booting ROCK64 SuburbanDad 13 541 06-19-2019, 01:48 AM
Last Post: mcerveny
  Plastic storage box for Rock64 matwey 1 84 06-18-2019, 10:56 PM
Last Post: tllim
  Rock64 v2 network issues alephnull 1 154 06-07-2019, 03:30 PM
Last Post: alephnull
  Rock64 v3 - POE P1V 1 167 06-07-2019, 12:24 AM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)