Skip to content
Branch: master
Find file History
yuuki0xff set restart option on some docker-compose files
growiと依存するサービスを自動的に起動するようにしました。
Latest commit 5ca60c7 Feb 21, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
docker-compose.override.yml

README.md

growi-docker-compose with HackMD(CodiMD) Integration Example

This example enables GROWI to integrate with HackMD(CodiMD)
so that user will be able to simultaneously edit page with multiple people.

Install and Start

Clone repos and copy docker-compose.override.yml

git clone https://github.com/weseek/growi-docker-compose.git growi
cd growi
cp examples/integrate-with-hackmd/docker-compose.override.yml .

Add environment variables to app container

variables example values description
HACKMD_URI https://hackmd.demo.growi.org HackMD server URI
which can be accessed from GROWI client browser
HACKMD_URI_FOR_SERVER http://hackmd:3000 HackMD server URI
which can be accessed from GROWI server container
Default: The same value as HACKMD_URI
  1. Open docker-compose.yml
  2. Edit app container's settings
  3. Set HACKMD_URI
  4. Set HACKMD_URI_FOR_SERVER if you need

Add environment variables to hackmd container

variables example values description
GROWI_URI https://demo.growi.org GROWI server URI
which can be accessed from client browser
  1. Open docker-compose.override.yml
  2. Edit hackmd container's settings
  3. Set GROWI_URI

Start

docker-compose up

and access to:

Configuration of HackMD(CodiMD)

By defautl, HackMD server will be launched with the anonymous user accessible.
If you want to change it, configure as below.

  1. See the official document
  2. Add environment variables
    • Open docker-compose.override.yml and edit 'hackmd' container settings
  3. Add settings to config.json
    • Open hackmd/config.json and edit
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.