Giter VIP home page Giter VIP logo

mm-wiki-docker's Introduction

mm-wiki-docker

mm-wiki docker image. https://github.com/phachon/mm-wiki

How to Setup

1. Setup mysql

docker container run -d \
    --restart=always \
    --name wiki_mysql \
    -v $HOME/mysql/etc/mysqld.cnf:/etc/mysql/mysql.conf.d/mysqld.cnf \ # mysql config file
    -v $HOME/mysql/data:/var/lib/mysql \ # mysql data
    -e MYSQL_ROOT_PASSWORD=mm_wiki \ # mysql root password
    -e MYSQL_USER=mm_wiki \ # mm-wiki user name
    -e MYSQL_PASSWORD=mm_wiki \ # mm-wiki user password
    -e MYSQL_DATABASE=mm_wiki \ # mm-wiki database name
    -d mysql:5.7 \
    --character-set-server=utf8mb4 \
    --collation-server=utf8mb4_unicode_ci

2. Setup mm-wiki

docker container run -d \
    --restart=always \
    --name wiki \
    -p 8080:8080 \
    -v $HOME/wiki/bin:/mm-wiki \ # mm-wiki
    -v $HOME/wiki/data:/data \ # mm-wiki data
    --link wiki_mysql:db \ # link mysql
    217heidai/mm-wiki

3. How to Configure

  1. http://127.0.0.1:8080, configure it.
  2. Restart your mm-wiki container.
  3. http://127.0.0.1:8080, login. Default user is 'root', and pwssword is what you set in mysql container.

How to Upgrade

  1. stop and remove your existing mm-wiki container.
  2. setup new mm-wiki container.
  3. reboot the new mm-wiki container.

mm-wiki-docker's People

Contributors

217heidai avatar

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.