On Mon, Jun 13, 2022 at 7:32 AM Lee Doughty <[email protected]> wrote:
> You could use docker-compose to "volume" mount the user-mapping.xml file > to /etc/guacamole, and that should work for what you're trying to > accomplish. If you don't provide it postgres or any hints that your trying > to do another auth system, it should fall back to the XML file. (See > https://guacamole.apache.org/doc/gug/configuring-guacamole.html ) > > I would not use user-mapping.xml in any sort of production or extended environment. It's really intended to make sure you get Guacamole working, and then you should use one of the other extensions. > > You shouldn't need any of the postgres and environment rewrites or your > extension...I don't think the JSON approach is a great idea based on your > requirements, it's probably overall more complicated than using postgres, > as it has a different use case > > The Guacamole Docker image takes care of writing the guacamole.properties file on its own with the values you provide in the environment variables. Attempting to generate your own, map GUACAMOLE_HOME, etc., is likely to result in odd and unpredictable behavior. -NIck
