Removed hacky solution for central components

This commit is contained in:
root
2022-05-03 15:50:38 +02:00
parent 63b279617b
commit 03d1a83439
2 changed files with 19 additions and 9 deletions

View File

@ -142,13 +142,25 @@ If your system passed all checks from ["Requirements" section], you are now read
First, clone the repository to the directory "/srv/docker/bridgehead":
u
``` shell
sudo mkdir -p /srv/docker/;
sudo git clone https://github.com/samply/bridgehead.git /srv/docker/bridgehead;
```
The next step is to create a user for the bridgehead service
``` shell
#!/bin/bash
mkdir /srv/docker && cd /srv/docker
adduser --no-create-home --disabled-login --ingroup docker --gecos "" bridgehead
useradd -M -g docker -N -s /sbin/nologin bridgehead
chown 777 /srv/docker/bridgehead bridgehead
sudo chown bridgehead /srv/docker/bridgehead/
```
Next, you need to configure a set of variables, specific for your site with not so high security concerns. You can visit the configuration template at [GitHub](https://github.com/samply/bridgehead-config). You can download the repositories contents and add them to the "bridgehead-config" directory.
``` shell