docker deploy Redmine Project Management Platform

1. Download the image (with its own version 3.4)

docker pull redmine:3.4
docker pull mysql:5.7

2. Run

docker run -p 3306:3306 --name some-mysql -e MYSQL_ROOT_PASSWORD="123456" -e MYSQL_DATABASE=redmine -d mysql:5.7 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci


docker run -d -p 58088:3000 --name some-redmine --link some-mysql:mysql redmine:3.4

Deployment is simple, there is a small pit to say next, after logging redmine not try Chinese.

The reason behind the check only to find that the default installation of mysql encoding is not utf8, start mysql time to bring Configuration

--character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci

Such mysql built library support utf8, where self-configured according to their own needs encoding

Guess you like

Origin www.cnblogs.com/only-me/p/11103770.html