-
Create a VM and attach a volume (preferably name it
arr
) to it with at least 50GB under themnt/arr
directory. -
Create a user name
arr
:sudo useradd -m arr
-
Get the
uid
andgid
of the new user:su arr id uid=1000(arr) gid=1000(arr) groups=1000(arr)
Insert these
uid
andgid
intodocker-compose.yml
file for each service's environment:PUID
,PGID
-
Run the whole stack, make sure to do it with
arr
user.docker-compose up -d
If the
arr
user don't have permission to do so, add this user todocker
group -
Now we should adjust the ownership of files in case it is not right:
cd /mnt/arr chown -R arr:arr * cd /home/arr chown -R arr:arr *
-
Now we want to have sub-domains pointing to all our services, create sub-domains and point them all to the IP of this server. And then edit the
nginx.conf
file and replaceserver_name
for each service with the created sub-domain for your services. Now run the nginx service:docker-compose -f nginx.docker-compose.yml up -d
Now the whole thing is up and running. Let's setup everything else from the UI.
TODO
TODO
TODO
TODO