Sign inSign up

nealbartrip/una_docker

By nealbartrip

Updated over 5 years ago

Based from Official Image

Image
0

208

nealbartrip/una_docker repository overview

Official UNA Docker repository

This is the official git repository for UNA. Refer to Docker Hub page for the actual UNA Docker image.

How to use this image

docker run -e "UNA_DB_HOST=host.docker.internal" -e "UNA_DB_NAME=test" -e "UNA_ADMIN_PWD=5ecret" -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_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 aleays 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.

Tag summary

Content type

Image

Digest

Size

221.7 MB

Last updated

over 5 years ago

docker pull nealbartrip/una_docker