customized version of guacamole/guacamole:1.5.5 with AMTI branding
144
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
Content type
Image
Digest
sha256:9085bfde8…
Size
341 MB
Last updated
about 1 year ago
docker pull n0bility6/guacamole:1.5.5