abesnier / docker-guacamole

A self-contained guacamole docker container for x64. Remotely connect over SSH, RDP or VNC using HTML5.
https://hub.docker.com/r/abesnier/guacamole
GNU General Public License v3.0
78 stars 14 forks source link

Custom theme #31

Open jakub-antos opened 8 months ago

jakub-antos commented 8 months ago

Puting this: https://github.com/LagManCZ/guacamole-dark-theme in extension folder didn't work. and disappears after reloading container, what am I doing wrong?

My docker-compose.yaml

version: "3"
services:
  guacamole:
    restart: unless-stopped
    image: abesnier/guacamole
    container_name: guacamole
    user: root
    volumes:
      - ./data:/data
      - ./config:/config
      - ./extensions:/app/guacamole/extensions/
    ports:
      - 4000:8080

When I replace guacamole-branding-1.5.4.jar and reinstall container, sometimes work partially without my logo... Im puting jar in extension and in extension in data. I clear the cache and check it in different browsers, I've been struggling all day and nothing changes.

Thanks for any help.

abesnier commented 7 months ago

I may have messed up the loading of the extensions, let me run some tests, and I'll keep you updated.

abesnier commented 7 months ago

There is something strange with your volumes. The only volume you need is config. Place your custom extension directly in the config/guacamole/extensions directory, and you don't even need to rename it.

The naming convention (guacamole-extension-version.jar) is used to parse official extensions (plus branding). At startup, the extensions in config/guacamole/extensions-available are copied to config/guacamole/extensions. If you copy your extension somewhere else, they will not be loaded.

If you have a custom extension, you don't need to rename it, you can just copy it in the extension directory. BUT! be careful, extensions are loaded alphabetically by Guacamole Client, and the last one loaded takes precedence.