Skip to content

openlogi/crowi-plus-docker-compose

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crowi-plus-docker-compose

Quick start crowi-plus with docker-compose

Install and Start

git clone https://github.com/weseek/crowi-plus-docker-compose.git crowi-plus
cd crowi-plus
docker-compose up

and access to http://localhost:3000

How to access from other than localhost

Edit docker-compose.yml and modify ports for app

Before

services:
  app:
    ports:
      - 127.0.0.1:3000:3000

After

services:
  app:
    ports:
      - 3000:3000

For High-memory environment

If you have enough memory, increase heap size for Elasticsearch with ES_JAVA_OPTS value in docker-compose.yml.

environment:
  - "ES_JAVA_OPTS=-Xms2g -Xmx2g"

Upgrade

# go to crowi-plus-docker-compose workdir
cd crowi-plus

# stop
docker-compose stop

# remove current container and images
docker-compose rm app
docker rmi crowiplus_app
docker rmi weseek/crowi-plus:2

# rebuild app container image
git pull
docker-compose build

# start
docker-compose up

How to install plugins

edit Dockerfile and activate commented out lines.

Example

# 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 build:prod

NOTE: DISABLED Environment Variables

Followings are unchangable.

  • PORT
  • NODE_ENV

Followings are disabled because they are overwritten by docker-compose.yml

  • MONGO_URI
  • REDIS_URL
  • PASSWORD_SEED

Change docker-compose.yml if you need.

Others conform to the official. See https://github.com/crowi/crowi

More convenient Examples

Documentation

Issues

If you have any problems or questions about this image, please contact us through a GitHub issue.

License

  • The MIT License (MIT)
  • See LICENSE file.

About

⚓ crowi-plus-docker-compose - The fastest way to boot crowi-plus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors