Moved all systemd untis to user bridgehead

This commit is contained in:
root
2022-05-04 09:14:32 +02:00
parent 5bacdf02fb
commit 26c9fc0cff
6 changed files with 20 additions and 11 deletions

View File

@ -70,6 +70,11 @@ sudo mkdir /srv/docker/;
sudo git clone https://github.com/samply/bridgehead.git /srv/docker/bridgehead;
```
adduser --no-create-home --disabled-login --ingroup docker --gecos "" bridgehead
useradd -M -g docker -N -s /sbin/nologin bridgehead
chown bridghead /srv/docker/bridgehead/ -R
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
@ -98,6 +103,16 @@ sudo ./lib/setup-bridgehead-units.sh
Finally, you need to configure your sites secrets. These are places as configuration for each bridgeheads system unit. Refer to the section for your specific project:
### For Any Project you need to set the proxy in Update too
``` conf
[Service]
Environment=http_proxy=
Environment=https_proxy=
```
### DKTK/C4
You can create the site specific configuration with: