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
  lost eletronic component rock64 marvin1986 1 236 06-01-2021, 06:27 PM
Last Post: 8bit
Shocked Rock64 - Reboots after few minutes addezai 2 339 04-22-2021, 07:03 PM
Last Post: addezai
  Python GPIO Library for the Rock64 (R64.GPIO) Leapo 36 37,368 04-17-2021, 08:59 AM
Last Post: theophile
Question Hardware issues with Rock64 grobbs 10 1,316 04-08-2021, 05:24 AM
Last Post: t4_4t
  Rock64 Long Term stability ramprasad 4 1,758 03-16-2021, 07:23 PM
Last Post: Rocklobster
  Rock64 No Audio - Solved wbecks 11 15,016 03-15-2021, 03:15 PM
Last Post: lowry
  Safest way to send shutdown signal to headless Rock64 SMB server? bmurphr1 3 1,064 03-14-2021, 06:01 PM
Last Post: clach04
  Rock64 as a router (OpenWRT,etc) bob-anon 2 1,617 03-12-2021, 01:16 AM
Last Post: arkadione
  Rock64 enable 1-wire to read DS18B20 or Dallas temperature sensor Perry 2 1,197 02-12-2021, 08:02 PM
Last Post: Perry
  Will Mobian Run On Rock64? Porcupine 1 607 01-13-2021, 12:39 PM
Last Post: tophneal

Forum Jump:


Users browsing this thread: 1 Guest(s)