[ 
https://issues.apache.org/jira/browse/GUACAMOLE-939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024680#comment-17024680
 ] 

Thomas Eggers commented on GUACAMOLE-939:
-----------------------------------------

You are right, readonly mount works fine.

# docker run --name guacamole-tomcat -v /etc/guacamole:/config:ro -e 
GUACAMOLE-HOME=/config -e GUACD_HOSTNAME=127.0.0.1 -e LDAP_HOSTNAME=1.1.1.1 -e 
LDAP_USER_BASE_DN=o=test guacamole/guacamole

But with LDAP you need GUACD_HOSTNAME, LDAP_HOSTNAME and LDAP_USER_BASE_DN.

I can put all this into the guacamole properties file.

> Read Docker image environment variables from guacamole.properties
> -----------------------------------------------------------------
>
>                 Key: GUACAMOLE-939
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-939
>             Project: Guacamole
>          Issue Type: Improvement
>          Components: guacamole-docker
>    Affects Versions: 1.0.0
>            Reporter: Thomas Eggers
>            Priority: Minor
>         Attachments: start.sh
>
>
> Hi,
> I'm not a Software developer,
>  but I have linux script and docker experience.
> I startet to enhance the start.sh file in the docker image.
> This new version is pre read required variable from guacamole.properties to 
> configure the tomcat web interface. This make it much easier to start the 
> docker container without so many options.
> Other things that I like to do is:
>   - import certificate for ldaps connections
>    - docker container health status
>   - and other small things
>  Thomas



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to