Sign inSign up

qubestash/vimbadmin

By qubestash

Updated over 9 years ago

Image
0

3.2K

qubestash/vimbadmin repository overview

ViMbAdmin Docker (with PHP-FPM)

Supported tags

  • 3-php-5.6, 3-php-5.6.30, 3.0-php-5.6, 3.0-php-5.6.30, 3.0.15-php-5.6, 3.0.15-php-5.6.30, php-5.6, php-5.6.30 (Dockerfile)
  • 3-php-5.6-alpine, 3-php-5.6.30-alpine, 3.0-php-5.6-alpine, 3.0-php-5.6.30-alpine, 3.0.15-php-5.6-alpine, 3.0.15-php-5.6.30-alpine, php-5.6-alpine, php-5.6.30-alpine (Dockerfile)
  • 3-php-7.1, 3-php-7.1.3, 3.0-php-7.1, 3.0-php-7.1.3, 3.0.15-php-7.1, 3.0.15-php-7.1.3, php-7.1, php-7.1.3, latest (Dockerfile)
  • 3-php-7.1-alpine, 3-php-7.1.3-alpine, 3.0-php-7.1-alpine, 3.0-php-7.1.3-alpine, 3.0.15-php-7.1-alpine, 3.0.15-php-7.1.3-alpine, php-7.1-alpine, php-7.1.3-alpine, alpine (Dockerfile)
  • 3-php-7.0, 3-php-7.0.17, 3.0-php-7.0, 3.0-php-7.0.17, 3.0.15-php-7.0, 3.0.15-php-7.0.17, php-7.0, php-7.0.17 (Dockerfile)
  • 3-php-7.0-alpine, 3-php-7.0.17-alpine, 3.0-php-7.0-alpine, 3.0-php-7.0.17-alpine, 3.0.15-php-7.0-alpine, 3.0.15-php-7.0.17-alpine, php-7.0-alpine, php-7.0.17-alpine (Dockerfile)

ENV

VIRTUAL_PASS_CRYPT

Default: md5

Values
MethodDocumentationNotes
plainplain password
passwordcall MySQL password() methodSee (~ 3)
cryptcall PHP crypt() method without a salt valueSee (~ 3)
crypt:XXXcall the PHP crypt() function (with random salt) where XXX is one of: md5, blowfish, sha256, sha512
md5call PHP md5() method without salt
md5-saltedcall PHP md5() with salt (salt set in defaults.mailbox.password_salt above)See (~ 1)
sha1call PHP sha1 method without salt
sha1-saltedcall PHP sha1 with salt (salt set in defaults.mailbox.password_salt above)See (~ 1)
dovecot:XXXcall the Dovecot password generator and use the scheme specified by XXX. To see available schemes, use dovecotpw -l or doveadm pw -lSee (~ 1), (~ 2)

(~ 1) All supported password encription tools in [ViMbAdmin] are implemented using OSS Framework.

(~ 2) Due to containerization for this tool, we first need to find a way to share the dovectopw/doveadm pw tools between the containers before enabling it in the supported encryption plans.

(~ 3) Encryption metod is not supported by [ViMbAdmin].

(~ 4) In order to choose the best password encryption, please read MySQL encryption functions documentation as well.

Running with MySQL

docker
# Clear containers if they exist by any chance
docker rm -f mail-cluster-mysql mail-cluster-vimba mail-cluster-nginx || true
# MySQL (create container)
docker run -e MYSQL_ROOT_PASSWORD=weltest --name mail-cluster-mysql -d mysql:5
# MySQL (create database)
docker exec mail-cluster-mysql bash -c 'iterate=0; while ! mysqladmin ping -uroot -p$MYSQL_ROOT_PASSWORD -h127.0.0.1 --silent; do iterate=$((iterate+1)); echo .; sleep 1; done; echo "CREATE DATABASE IF NOT EXISTS mail" | mysql -uroot -p$MYSQL_ROOT_PASSWORD'
# ViMbAdmin (create container)
docker run --link mail-cluster-mysql:mail-mysql --name mail-cluster-vimba \
      -v $(pwd)/.travis/application.ini:/var/www/vimbadmin/application/configs/application.ini \
      -d qubestash/vimbadmin:latest
# ViMbAdmin (create database structure)
docker exec mail-cluster-vimba sh -c 'cd /var/www/vimbadmin && ./bin/doctrine2-cli.php orm:schema-tool:create'
# Nginx (create container)
docker run --link mail-cluster-vimba:mail-vimbadmin --name mail-cluster-nginx -p 80:80 \
      -v $(pwd)/.travis/nginx.conf:/etc/nginx/conf.d/nginx.conf:ro \
      --volumes-from mail-cluster-vimba:rw \
      -d nginx:alpine

docker-compose

Please look at QubeStash/mail repository.

Tag summary

Content type

Image

Digest

Size

240.2 MB

Last updated

over 9 years ago

docker pull qubestash/vimbadmin