GithubHelp home page GithubHelp logo

docker-zurmo's Introduction

Zurmo in Docker

N|Solid N|Solid

A dockerfile for Zurmo CRM application. Default username/password/databasename is zurmo

How to run

docker run -itd -p 80:80 hxquangnhat/zurmo:latest
docker run --name mysql -itd -p 3306:3306 \
            -e MYSQL_ROOT_PASSWORD=admin \
            -e MYSQL_DATABASE=zurmo \
            -e MYSQL_USER=zurmo \
            -e MYSQL_PASSWORD=zurmo \
            mysql \
            --character-set-server=utf8 \
            --collation-server=utf8_unicode_ci \
            --default-storage-engine=INNODB \
            --max-sp-recursion-depth=100 \
            --max-allowed-packet=20M \
            --thread-stack=512K \
            --optimizer-search-depth=0 \
            --sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
docker run -itd -p 11211:11211 memcached

Head to http://localhost/zurmo/ and start installing zurmo. DB host and memcached host should be IP address of your machine.

Using docker-compose

A docker-compose file with:

  • zurmo image
  • mysql with zurmo configured
  • memcached
docker-compose up

DB host is 'mysql' and memcached host is 'memcached'

docker-zurmo's People

Contributors

hxquangnhat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bdinos novaez loop54

docker-zurmo's Issues

There's some problems with mysql docker.

When I start docker, I faced two problem with mysql. One of them is mysql option. I think latest mysql docker doesn't support NO_AUTO_CREATE_USER option. I remove the option, I works.

====================== error log ======================

ERROR: mysqld failed while attempting to check config
command was: "mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci --default-storage-engine=INNODB --max-sp-recursion-depth=100 --max-allowed-packet=20M --thread-stack=512K --optimizer-search-depth=0 --sql-mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION --verbose --help"

2019-05-08T20:35:41.452227Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
2019-05-08T20:35:41.452452Z 0 [ERROR] [MY-000077] [Server] /usr/sbin/mysqld: Error while setting value 'NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' to 'sql_mode'.
2019-05-08T20:35:41.467993Z 0 [ERROR] [MY-010119] [Server] Aborting

==================================================

After fixed the option, I faced another problem at database setting in Web UI. I cannot find easy way to fix it. But I think it's relate with mysql version. Could anyone specify mysql version instead of latest?

====================== error log ======================
Message: Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

==================================================

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.