Quick start GROWI with docker-compose
- Start
- Upgrade
- Migrate from crowi-plus-docker-compose
- How to install plugins
- NOTE: DISABLED Environment Variables
- More convenient Examples
- Documentation
git clone https://github.com/weseek/growi-docker-compose.git growi
cd growi
docker-compose up
and access to http://localhost:3000
Edit docker-compose.yml
and modify ports
for app
services:
app:
ports:
- 127.0.0.1:3000:3000
services:
app:
ports:
- 3000:3000
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"
see Upgrading to GROWI v3.4.x.
# go to growi-docker-compose workdir
cd growi
# stop
docker-compose stop
# remove current container and images
docker-compose rm app
docker rmi weseek/growi:3
# rebuild app container image
git pull
docker-compose build
# start
docker-compose up
If you have used weseek/crowi-plus docker image with docker-compose so far, please see migration document.
edit Dockerfile
and activate commented out lines.
# install plugins if necessary
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 build:prod
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 weseek/growi
- Multiple sites
- HTTPS(with Let's Encrypt) proxy integration
- HackMD(CodiMD) integration
- Backup MongoDB data
If you have any problems or questions about this image, please contact us through a GitHub issue.
- The MIT License (MIT)
- See LICENSE file.