Github user mike-jumper commented on a diff in the pull request:

    
https://github.com/apache/incubator-guacamole-client/pull/10#discussion_r64998662
  
    --- Diff: guacamole-docker/bin/start.sh ---
    @@ -90,15 +90,21 @@ set_optional_property() {
     ## instead of a linked container.
     ##
     associate_mysql() {
    -
    -    # Use linked container if specified
    -    if [ -n "$MYSQL_NAME" ]; then
    -        MYSQL_HOSTNAME="$MYSQL_PORT_3306_TCP_ADDR"
    -        MYSQL_PORT="$MYSQL_PORT_3306_TCP_PORT"
    -    fi
    -
    -    # Use default port if none specified
    -    MYSQL_PORT="${MYSQL_PORT-3306}"
    +   : ${MYSQL_HOSTNAME:=mysql}
    --- End diff --
    
    Why default the hostname to "mysql"?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to