Sign inSign up

n0bility6/guacamole

By n0bility6

Updated about 1 year ago

customized version of guacamole/guacamole:1.5.5 with AMTI branding

Image
Web servers
Operating systems
0

144

n0bility6/guacamole repository overview

Updated version with AMTI branding.

Initialize the database

mkdir -p ${HOME}/docker-stack/guacamole/init
chmod -R +x ${HOME}/docker-stack/guacamole/init
docker run --rm guacamole/guacamole:1.5.5 /opt/guacamole/bin/initdb.sh --postgresql > ${HOME}/docker-stack/guacamole/init/initdb.sql

create docker network

docker network create public #for stand-alone docker server.

docker network create --attachable -d overlay public #for swam environment.

Create the ${HOME}/docker-stack/guacamole/.env file to store the database credentials. Like this:

POSTGRES_PASSWORD='PleasePutAStrongPasswordHere'
POSTGRES_USER='guacamole_user'

sample docker-compose.yaml file

version: '3.9'

# networks
# create a network public
networks:
  public: 
    external: true

# services
services:
  # guacd
  guacd:
    container_name: guacamole_backend
    image: guacamole/guacd:1.5.5
    restart: always
    volumes:
    - ./drive:/drive:rw #create a drive folder for shared drive configuration
    - ./record:/var/lib/guacamole/recordings:rw #create a record folder for session recording configuration
    networks:
    - public

  # postgres
  postgres:
    container_name: guacamole_database
    environment:
      PGDATA: /var/lib/postgresql/data/guacamole
      POSTGRES_DB: guacamole_db
      POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
      POSTGRES_USER: '${POSTGRES_USER}'
    image: postgres:15.0
    networks:
    - public
    restart: always
    volumes:
    - ./init:/docker-entrypoint-initdb.d:ro 
    - ./postgresql:/var/lib/postgresql/data:rw
    
  # guacamole
  guacamole:
    container_name: guacamole_frontend
    depends_on:
    - guacd
    - postgres
    environment:
      GUACD_HOSTNAME: guacd
      POSTGRESQL_DATABASE: guacamole_db
      POSTGRESQL_HOSTNAME: postgres
      POSTGRESQL_PASSWORD: '${POSTGRES_PASSWORD}'
      POSTGRESQL_USER: '${POSTGRES_USER}'
      POSTGRESQL_AUTO_CREATE_ACCOUNTS: "true"
    image: n0bility6/guacamole:1.5.5
    links:
    - guacd
    restart: always
    volumes:
    - ./drive:/drive:rw
    - ./record:/var/lib/guacamole/recordings
    ports:
    - 8080:8080
    networks:
    - public

Changelog 1.0

  • Change the app name in /home/guacamole/tomcat/webapps/guacamole/translations/en.json
  • Replace the logo in /home/guacamole/tomcat/webapps/guacamole/images
    • logo-64.png (title icon)
    • logo-144.png (title icon)
    • guac-tricolor.svg (login page logo)

Tag summary

Content type

Image

Digest

sha256:9085bfde8

Size

341 MB

Last updated

about 1 year ago

docker pull n0bility6/guacamole:1.5.5