guacamole docker-compose with initidb

toastie89 ca5ff35409 removed post hook vor 5 Monaten
data 1e5c65cff6 initial vor 1 Jahr
.env.template 225e710c40 upgraded to guacamole 1.5.3 / postgres 15-bookworm vor 1 Jahr
.gitignore b08f24cfd4 upgrade to 1.5.0 with postgres vor 1 Jahr
README.md 6e0b193a9b updated with examples vor 1 Jahr
docker-compose.yml ca5ff35409 removed post hook vor 5 Monaten
initdb.sh e20ddb1c9e fixed misspelled --postgresql parameter vor 1 Jahr

README.md

  1. cp .env.template .env and update your hostname, portmapping and guacadmin password in .env

  2. Populate database PRIOR to first startup: Populate .env from template, set the guacadmin password, hostname and populate database:

    docker compose pull
    cp .env.template .env && sed -i -e "s/ReplaceWithYourSecretPassword/`pwgen  -B 20 1`/" .env
    ./initdb.sh && docker compose up -d
    
  3. Browse http://localhost:8080/guacamole/ and login with login guacadmin and password set in .env

  4. Settings - Connections (All no described field can stay blank.)

    • RDP (xrdp)
      • Name = some freetext
      • Protocol = RDP
      • Parameters
      • Hostname or IP
      • Port = 3389
      • Username
      • Password
      • Security mode: Any
    • RDP (Windows 10)
      • Name = some freetext
      • Protocol = RDP
      • Parameters
      • Hostname or IP
      • Port = 3389
      • Username
      • Password
      • Security mode = TLS
      • Disable authentication = [x]
      • Ignore server certificate = [x]
    • SSH
      • Name = some freetext
      • Protocol = SSH
      • Parameters
      • Hostname or IP
      • Port = 22
      • Username
      • Password
      • Security mode: Any
      • SFTP
      • Enable SFTP
  5. Accessing other containers Example: ``` guacd:

    ...

    networks:

    • default
    • terminalserver_default

networks: terminalserver_default:

external: true

```