- install Docker: https://docs.docker.com/engine/install/
- install Docker Compose https://docs.docker.com/compose/install/
- create directory: "sudo mkdir /docker"
- create directory "sudo mkdir /docker/config"
- enter directory "cd /docker/config"
- Clone Git Repository: "sudo git clone https://github.com/matzeeg3/guacamoledocker.git /docker/config/"
- Download Container: "sudo docker-compose pull"
- change directory permission "sudo chmod 777 /docker/config/"
- generate sql tamplate: "sudo docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgres > initdb.sql"
- change back directory permission "sudo chmod 755 /docker/config/"
- create directory: "sudo mkdir /docker/guacamole"
- create directory: "sudo mkdir /docker/guacamole/postgre"
- create directory: "sudo mkdir /docker/guacamole/postgre/init"
- copy initdb.sql to desternation direcotry: "sudo cp initdb.sql /docker/guacamole/postgre/init/"
- edit the compose file: "sudo nano docker-compose.yml" -> change the Password fields, the Virtual_host, your email adress and the lets encrypt host
- Make sure your sub-domain points to the PublicIP of the docker host
- Make sure you have open port 80 and 443 to the docker host
- inside of the directory /docker/config now just run "sudo docker-compose up -d"
- wait approx 5 mins if you did anything right you should be able to access "https://sub.domain.yours/guacamole
- first login credentials are username and password "guacadmin"
i will provide a script witch did the manual stepps above in the future.
#Install via Script
- install Docker: https://docs.docker.com/engine/install/
- install Docker Compose https://docs.docker.com/compose/install/
- Make sure your sub-domain points to the PublicIP of the docker host
- Make sure you have open port 80 and 443 to the docker host
- clone reposetory and run script: "sudo mkdir /docker && sudo mkdir /docker/config && sudo apt install git -y && sudo git clone https://github.com/matzeeg3/guacamoledocker.git /docker/config/ && sudo chmod +x /docker/config/guacinstall.sh && sudo /docker/config/guacinstall.sh"
- wait approx 5 mins if you did anything right you should be able to access "https://sub.domain.yours/guacamole
- first login credentials are username and password "guacadmin"