You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by adouren <ol...@justice.gouv.fr> on 2021/02/04 09:31:10 UTC

guacamole with docker Problem tomcat default

Hi,

I did a guacamole install with docker, but I can't reach the guacamole page,
instead I have a tomcat default page :

My docker-compose.yml : 

version: '3.1'

services:
  db:
    image: postgres:10
    hostname: db
    deploy:
       mode: replicated
       replicas: 1
       placement:
         constraints: [node.labels.guacamole == true]
       restart_policy:
         condition: any
         delay: 10s
         max_attempts: 3
         window: 120s
    volumes:
      - /data/guacamole/guacamole_officiel/data:/var/lib/postgresql/data
      - /data/guacamole/guacamole_officiel/init/:/docker-entrypoint-initdb.d
    ports:
      - 6832:5432
    environment:
      POSTGRES_PASSWORD: pgpassword
      POSTGRES_USER: postgres
      POSTGRES_DB: guacamoledb

  guacd:
    image: guacamole/guacd:1.0.0
    hostname: guacd
    deploy:
       mode: replicated
       replicas: 1
       placement:
         constraints: [node.labels.guacamole == true]
       restart_policy:
         condition: any
         delay: 10s
         max_attempts: 3
         window: 120s
    environment:
      GUACD_LOG_LEVEL: debug

  guacamole:
    image: guacamole/guacamole:1.0.0
    deploy:
       mode: replicated
       replicas: 1
       placement:
         constraints: [node.labels.guacamole == true]
       restart_policy:
         condition: any
         delay: 10s
         max_attempts: 3
         window: 120s
    ports:
      - 6888:8080
    links:
      - guacd
      - db
    environment:
      GUACD_HOSTNAME: guacd
      POSTGRES_HOSTNAME: db
      POSTGRES_DATABASE: guacamoledb
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: pgpassword

<http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/file/t1683/erreur_tomcat.png> 






--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: guacamole with docker Problem tomcat default

Posted by adouren <ol...@justice.gouv.fr>.
Hi,

Yes that's right. It's OK.

I thought I wrote in the reverse-proxy configuration the /guacamole at the
end of the url. But I hadn't done it

Thank you 

Olivier



--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: guacamole with docker Problem tomcat default

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Feb 4, 2021 at 4:31 AM adouren <ol...@justice.gouv.fr>
wrote:

> Hi,
>
> I did a guacamole install with docker, but I can't reach the guacamole
> page,
> instead I have a tomcat default page :
>
>
By default, even with Docker, Guacamole is deployed to /guacamole, so
you'll need to make sure the URL you're using has /guacamole at the end of
it. It sounds like you're just hitting the host with a / and not further
path at the end, which will take you to the default page.

-Nick