-
Notifications
You must be signed in to change notification settings - Fork 95
Migrate from crowi plus docker compose
Yuki Takei edited this page Apr 7, 2018
·
5 revisions
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.
-
DO NOT EDIT
docker-compose.yml
. - Edit
Dockerfile
only.
- Replace
FROM
andENV 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
-
Before
- 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
-
Before
docker-compose up