Sign inSign up

unaio/una

By unaio

•Updated 2 months ago

UNA | Community Management System

Image
2

10K+

unaio/una repository overview

⁠Official UNA Docker repository

This is the official git repository for UNA⁠.

⁠How to use this image

docker run -e "UNA_DB_HOST=host.docker.internal" -e "UNA_DB_NAME=test" -e "UNA_ADMIN_PWD=5ecret" --add-host=host.docker.internal:host-gateway -d -p 80:80 --name una unaio/una:latest

Above example assumes that UNA is run locally with mysql server installed on the host machine. After the run UNA should be accessible using http://localhost URL, you can login with [email protected] email and 5ecret password.

⁠Full list of supported environment variables

  • UNA_DB_HOST - MySQL database hostname, default - localhost
  • UNA_DB_PORT - MySQL database port, default - 3306
  • UNA_DB_SOCK - MySQL database sock file path, optional
  • UNA_DB_NAME - MySQL database name, required
  • UNA_DB_USER - MySQL database user, default - root
  • UNA_DB_PWD - MySQL database user, default - root
  • UNA_HTTP_HOST - UNA hostname, if other than 80 port is used, then it need to be specified here, for example localhost:8000, default - localhost
  • UNA_HTTP_PATH - optional subfolder, no leading slash, trailing slash is required
  • UNA_SITE_TITLE - new site title, default - UNA
  • UNA_SITE_EMAIL - new site email, to send mail from, default - [email protected]
  • UNA_ADMIN_USERNAME - admin username, default - admin
  • UNA_ADMIN_EMAIL - admin login email, default - [email protected]
  • UNA_ADMIN_PWD - admin password, default - admin
  • UNA_KEY - UNA key, key&secret can be generated on una.io website⁠
  • UNA_SECRET - UNA secret
  • UNA_VERSION - particular UNA version to install, default - latest version
  • UNA_ZIP_DOWNLOAD_URL - custom UNA download URL, in case you need to install modified version, optional
  • UNA_ZIP_FOLDER - custom UNA folder in UNA_ZIP_DOWNLOAD_URL zip to be able to unpack, UNA is always installed in root folder
  • UNA_NO_CRONTAB - don't install crontab, in case of multiple instances, cron should be installed on one instance only, cron is installed by default
  • UNA_DB_ENGINE - MySQL DB engine, please note that some DB engines require custom MySQL server configuration, default MYISAM
  • UNA_AUTO_HOSTNAME - when this option is set (other than zero) then UNA_HTTP_HOST option is ignored and current hostname (where site is requested) is used. When this option is enabled, cronjob must be disabled using UNA_NO_CRONTAB env var.
  • UNA_ROOT_DIR - path to UNA folder, default is /var/www/html, it shouldn't be changed in most cases.
  • UNA_JAVA_PATH - path java binary for text files processing in Files module, there is no java in this image, so it can used only if this images is extended.
  • UNA_FFMPEG_PATH - path to ffmpeg binary, UNA comes with build in ffmpeg and this env var shouldn't be changed in most cases.
  • UNA_HASH_SECRET - UNA secret used in hashing, usually it's generated during installation, but can be specified as env var as well.
  • UNA_DEBUG_VISUAL_PROCESSING - when it's set, UNA shows some visual message upon error.
  • UNA_DEBUG_MODE - when it's set, UNA shows detailed report about DB errors right in the browser, including call stack, turn off in production.
  • UNA_DEBUG_EMAIL_REPORT - if this flag is set the UNA sends email with error details.
  • UNA_DEBUG_ERROR_REPORTING - error reporting level, as integer value.
  • UNA_DEBUG_COOKIE - specify special cookie name in this env var, when this cookie is set then UNA will display errors right in the browser, along with server logs.
  • UNA_SKIP_MINIMAL_REQUIREMENTS - when it's set, skip minimal requirements check.
  • UNA_SKIP_REDIRECT - when it's set, skip redirect to correct hostname.
  • UNA_SKIP_INSTALL_FOLDER_CHECK - when it's set, skip install folder check.
  • UNA_FORCE_AUTOUPDATE_MAX_CHANGED_FILES_PERCENT - max % of changed files to force autoupdate, it equals to 0.05 (5%) by default
  • BX_DOL_INT_MAX - max interger value, by default 2147483647 to support old 32bit systems, it defines how many values are allowed in bit fields, 32 or 64 values.
  • UNA_DATABASE_COLLATE - database collation, default is utf8mb4_unicode_ci

Tag summary

Content type

Image

Digest

sha256:1e9a31477…

Size

243.9 MB

Last updated

2 months ago

docker pull unaio/una