Herramientas de usuario

Herramientas del sitio


informatica:software:aplicaciones_web:guacamole

¡Esta es una revisión vieja del documento!


Tabla de Contenidos

Guacamole

Aplicación web para acceder remotamente a sistemas mediante SSH, RDP o VNC.

Instalación

Docker

Necesitamos 3 contenedores para poner en marcha 3 componentes

  • Servidor de Guacamole: guacd
  • Guacamole
  • Base de datos PostgreSQL

Generaremos un script para inicializar la base de datos mediante:

docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgres > ./init/initdb.sql
---
services:
  guacd:
    image: guacamole/guacd
    container_name: guacd
    ports:
      - 4822:4822
    restart: unless-stopped
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "3"
        
  guacamole:
    image: guacamole/guacamole
    container_name: guacamole
    environment:
      GUACD_HOSTNAME: guacd
      GUACD_PORT: 4822
      POSTGRES_DATABASE: guacamole_db
      POSTGRES_HOSTNAME: postgres
      POSTGRES_PASSWORD: 'ChooseYourOwnPasswordHere1234'
      POSTGRES_USER: guacamole_user
    ports:
      - 9003:8080
    restart: unless-stopped
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "3"        

  postgres:
    image: postgres
    container_name: guacamole-db
    environment:
      PGDATA: /var/lib/postgresql/data/guacamole
      POSTGRES_DB: guacamole_db
      POSTGRES_PASSWORD: ChooseYourOwnPasswordHere1234
      POSTGRES_USER: guacamole_user
    restart: unless-stopped
    volumes:
    - ./init:/docker-entrypoint-initdb.d:ro
    - ./data:/var/lib/postgresql/data:rw
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "3"
informatica/software/aplicaciones_web/guacamole.1700324225.txt.gz · Última modificación: por tempwin