Klick the video for higher quality.
A ssh server with password login is enabeld!!
(Set the password as enviroment variable in the .env file (see below)
here is a example how to install the v18s1
server:
(Make sure you have at least git, nano and of course docker and docker-compose installed)
git clone https://github.com/max-42/v18s1.git
cd custom-docker-paper
Copy the sample example.env
file
cp ./.env.example ./.env
nano ./.env
Here you can change the SSH password and the ports that the server should (SSH and Folia, Web) use.
sudo docker volume create --name=v18s1_server_data
sudo docker volume create --name=v18s1_db
sudo docker volume create --name=traefik_certificates
sudo docker-compose --env-file .env up --build
If you are already using Treafik Proxy
please
if you want to enable the treafik dashboard change do the following
- change - ```"--api.dashboard=false"``` to ```true```.
- uncomment the entire ```labels:``` section
- run ```htpasswd -nb username y0uRSecuRePassw0rD | sed -e s/\\$/\\$\\$/g``` to generate the basicauth string (change **username** and **y0uRSecuRePassw0rD**)
- insert the string generated in the step above into ```traefik.http.middlewares.traefik-auth.basicauth.users="<string>"```
- change **```treafik.example.com```** into your domain. (Remember to add a CNAME, AAAA or A record before, so that it resolves to your VPS)