Sign inSign up

noloknolo/guacd-sql-initializer

By noloknolo

Updated over 2 years ago

Init container for Guacamole's MySQL setup.

Image
Databases & storage
0

201

noloknolo/guacd-sql-initializer repository overview

Overview

This Docker image serves as an init container for the MySQL database required by Guacamole. Its purpose is to check if the database is already populated, and if not, initialize it with the necessary data. This simplifies the deployment of Guacamole by ensuring that the database is properly configured before Guacamole utilizes it.

Environment Variables

The image utilizes the following environment variables to configure the connection to the MySQL database:

  • MYSQL_PORT: The port of the MySQL database.
  • MYSQL_HOSTNAME: The hostname of the MySQL database.
  • MYSQL_DATABASE: The name of the MySQL database.
  • MYSQL_USER: The username of the MySQL database.
  • MYSQL_PASSWORD: The password of the MySQL database user.

These variables allow for customization of the database connection according to the specific requirements of your environment.

Usage

To use this image, simply define the required environment variables and configure your Guacamole container to wait for this init container to complete its task before starting Guacamole. This ensures that the database is ready and populated before Guacamole attempts to access it.

Tag summary

Content type

Image

Digest

sha256:0b5465c7a

Size

24.6 MB

Last updated

over 2 years ago

docker pull noloknolo/guacd-sql-initializer:0.8