Skip to content

Migrate from crowi plus docker compose

Yuki Takei edited this page Apr 7, 2018 · 5 revisions

Note

This document is written for the users who using weseek/crowi-plus 1.x or 2.x docker image.

By following the procedure below, you can transfer to GROWI while keeping data.

  1. DO NOT EDIT docker-compose.yml.
  2. Edit Dockerfile only.

Dockerfile

  1. Replace FROM and ENV APP_DIR line
    • Before
      FROM weseek/crowi-plus:2
      ENV APP_DIR /opt/crowi-plus
      
    • After
      FROM weseek/growi:3
      ENV APP_DIR /opt/growi
      
  2. Comment out or remove all of lines to install plugins
    • Before
      # install plugins if necessary
      RUN echo "install plugins" \
      #  && npm install --save \
      #      crowi-plugin-lsx \
      #      crowi-plugin-pukiwiki-like-linker \
        && echo "done."
      # you must rebuild if install plugin at least one
      # RUN npm run build:prod
      
    • After
      # install plugins if necessary
      # ;;
      # ;; NOTE: In GROWI v3 and later,
      # ;;       2 of official plugins (growi-plugin-lsx and growi-plugin-pukiwiki-like-linker)
      # ;;       are now included in the 'weseek/growi' image.
      # ;;       Therefore you will not need following lines except when you install third-party plugins.
      # ;;
      #RUN echo "install plugins" \
      #  && yarn add \
      #      growi-plugin-XXX \
      #      growi-plugin-YYY \
      #  && echo "done."
      # you must rebuild if install plugin at least one
      #RUN npm run build:prod
      

Start

  1. docker-compose up
Clone this wiki locally