Sign inSign up

d2cio/brimir

By d2cio

•Updated about 8 years ago

Brimir docker image

Image
0

1.0K

d2cio/brimir repository overview

⁠brimir-docker

Ready to use docker box for Brimir open source ticket manager⁠.

⁠Architecture

This docker box contains only Brimir Rails application. Nginx, database or any other service not included because 'put everything into one box' architecture isn't what docker is made for.

Minimal requirements for a working app you need a working mysql docker⁠ box and link it to Brimir box. This isn't a complicated task and I made a docker-compose⁠ configuration for you to build it.

In production use I also recommend an nginx⁠. Meybe I will do docker-compose config later for it.

⁠How to use this image

$ docker run --name my-brimir -e MYSQL_HOST=localhost -e MYSQL_DATABASE=brimir -e MYSQL_USER=brimir -e MYSQL_ROOT_PASSWORD=my-secret-pw -d kepes/brimir-docker

⁠Login info

⁠Environment variables

NameDefaultValue
MYSQL_HOSTmysqlMysql server hostname
MYSQL_DATABASE-Mysql database name
MYSQL_USER-Mysql database username
MYSQL_PASSWORD-Mysql Password
UNICORN_WORKERS2Number of Unicorn workers
UNICORN_TIMEOUT30Timeout of unicorn
UNICORN_PORT3000Unicorn port number
RAILS_ENVproductionRails environment
SECRET_KEY_BASEchange_it_pleaseSecret key base for Rails
SMTP_ADDRESS-SMTP server address
SMTP_PORT-SMTP port
SMTP_DOMAIN-Domain name for SMTP HELLO
SMTP_USERNAME-SMTP username
SMTP_PASSWORD-SMTP password
SMTP_AUTHENTICATIONpalinSMTP auth type

⁠Use it with docker-compose

docker-compose.yml⁠

$ git clone https://github.com/kepes/brimir-docker.git
$ docker-compose up

⁠Kubernetes

I made a Kubernetes⁠ config (config/kubernetes_rc_brimir.yaml). You can use it for configure a full functional Brimir service. Be careful and change all necessary paramaters for your Kuberentes deployment!

Tag summary

Content type

Image

Digest

Size

426.2 MB

Last updated

about 8 years ago

docker pull d2cio/brimir