Skip to content
Projets

growilabs/growi-docker-compose

Voir sur GitHub

À propos

:anchor: growi-docker-compose - The fastest way to boot All-in-One GROWI

Systèmes et infrastructure

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

growi-docker-compose

Quick start GROWI with docker-compose

GROWI-x-dockercompose

Table of Contents

  1. Start
  2. Upgrade
  3. Migrate from crowi-plus-docker-compose
  4. How to install plugins
  5. NOTE: DISABLED Environment Variables
  6. More convenient Examples
  7. Documentation

Start

git clone https://github.com/growilabs/growi-docker-compose.git growi
cd growi
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

Check upgrading guide

Please be sure to access Admin's guide - GROWI Docs(en/ja) and see 'Upgrade' section before upgrading. Sometimes you may have to deal with problems that may occur by yourself.

Upgrading to v8 needs an extra step: MongoDB has to run as a replica set. The docker-compose.yml here is already set up for it, but an existing standalone MongoDB has to be converted — see Upgrade to v8.0.x.

Upgrading app container

# go to growi-docker-compose workdir
cd growi

# stop
docker compose stop

# remove current container and images
docker compose rm app
docker rmi growilabs/growi:8

# rebuild app container image
git pull
docker compose build

# start
docker compose up

Migrate from crowi-plus-docker-compose

If you have used weseek/crowi-plus docker image with docker-compose so far, please see migration document.

NOTE: DISABLED Environment Variables

Followings are unchangable.

  • PORT
  • NODE_ENV

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

  • MONGO_URI
  • PASSWORD_SEED

Change docker-compose.yml if you need.

Others conform to growilabs/growi

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.

Explorer des projets similaires

Chargement…