This is the official git repository for UNA.
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.
UNA_DB_HOST - MySQL database hostname, default - localhostUNA_DB_PORT - MySQL database port, default - 3306UNA_DB_SOCK - MySQL database sock file path, optionalUNA_DB_NAME - MySQL database name, requiredUNA_DB_USER - MySQL database user, default - rootUNA_DB_PWD - MySQL database user, default - rootUNA_HTTP_HOST - UNA hostname, if other than 80 port is used, then it need to be specified here, for example localhost:8000, default - localhostUNA_HTTP_PATH - optional subfolder, no leading slash, trailing slash is requiredUNA_SITE_TITLE - new site title, default - UNAUNA_SITE_EMAIL - new site email, to send mail from, default - [email protected]UNA_ADMIN_USERNAME - admin username, default - adminUNA_ADMIN_EMAIL - admin login email, default - [email protected]UNA_ADMIN_PWD - admin password, default - adminUNA_KEY - UNA key, key&secret can be generated on una.io websiteUNA_SECRET - UNA secretUNA_VERSION - particular UNA version to install, default - latest versionUNA_ZIP_DOWNLOAD_URL - custom UNA download URL, in case you need to install modified version, optionalUNA_ZIP_FOLDER - custom UNA folder in UNA_ZIP_DOWNLOAD_URL zip to be able to unpack, UNA is always installed in root folderUNA_NO_CRONTAB - don't install crontab, in case of multiple instances, cron should be installed on one instance only, cron is installed by defaultUNA_DB_ENGINE - MySQL DB engine, please note that some DB engines require custom MySQL server configuration, default MYISAMUNA_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 defaultBX_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_ciContent type
Image
Digest
sha256:1e9a31477…
Size
243.9 MB
Last updated
2 months ago
docker pull unaio/una