parent
f4838221fa
commit
d1c90271be
6 changed files with 74 additions and 8 deletions
@ -1,3 +1,25 @@ |
|||||||
servicedock |
ServiceDock https://servicedock.ch |
||||||
|
|
||||||
Run Docker as a Service. |
Run Docker as a Service. |
||||||
|
|
||||||
|
Installation: |
||||||
|
|
||||||
|
sudo pkg -i servicedock_*.deb |
||||||
|
sudo apt-get install apache2 apache2-utils libapache2-mod-php5 |
||||||
|
sudo adduser www-data docker |
||||||
|
sudo htdigest -c /etc/apache2/servicedock.digest "private area" $(whoami) |
||||||
|
sudo dd of=/etc/apache2/conf-available/servicedock.conf <<EOF |
||||||
|
Alias /servicedock /usr/share/servicedock/html |
||||||
|
<Location /servicedock> |
||||||
|
AuthType Digest |
||||||
|
AuthName "private area" |
||||||
|
AuthDigestDomain "/servicedock/" "http://dev0004/servicedock/" |
||||||
|
AuthDigestProvider file |
||||||
|
AuthUserFile "servicedock.digest" |
||||||
|
Require valid-user |
||||||
|
</Location> |
||||||
|
EOF |
||||||
|
sudo a2enconf servicedock |
||||||
|
sudo a2enmod auth_digest |
||||||
|
sudo service apache2 reload |
||||||
|
|
Loading…
Reference in new issue