Skip to content

matzeeg3/guacamoledocker

Repository files navigation

guacamoledocker

  1. install Docker: https://docs.docker.com/engine/install/
  2. install Docker Compose https://docs.docker.com/compose/install/
  3. create directory: "sudo mkdir /docker"
  4. create directory "sudo mkdir /docker/config"
  5. enter directory "cd /docker/config"
  6. Clone Git Repository: "sudo git clone https://github.com/matzeeg3/guacamoledocker.git /docker/config/"
  7. Download Container: "sudo docker-compose pull"
  8. change directory permission "sudo chmod 777 /docker/config/"
  9. generate sql tamplate: "sudo docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgres > initdb.sql"
  10. change back directory permission "sudo chmod 755 /docker/config/"
  11. create directory: "sudo mkdir /docker/guacamole"
  12. create directory: "sudo mkdir /docker/guacamole/postgre"
  13. create directory: "sudo mkdir /docker/guacamole/postgre/init"
  14. copy initdb.sql to desternation direcotry: "sudo cp initdb.sql /docker/guacamole/postgre/init/"
  15. edit the compose file: "sudo nano docker-compose.yml" -> change the Password fields, the Virtual_host, your email adress and the lets encrypt host
  16. Make sure your sub-domain points to the PublicIP of the docker host
  17. Make sure you have open port 80 and 443 to the docker host
  18. inside of the directory /docker/config now just run "sudo docker-compose up -d"
  19. wait approx 5 mins if you did anything right you should be able to access "https://sub.domain.yours/guacamole
  20. 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

  1. install Docker: https://docs.docker.com/engine/install/
  2. install Docker Compose https://docs.docker.com/compose/install/
  3. Make sure your sub-domain points to the PublicIP of the docker host
  4. Make sure you have open port 80 and 443 to the docker host
  5. 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"
  6. wait approx 5 mins if you did anything right you should be able to access "https://sub.domain.yours/guacamole
  7. first login credentials are username and password "guacadmin"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages