Outline wiki server installation with docker-compose
With original outline installation manual server doesn't start, please follow this manual to make it work.
postgres:
POSTGRES_USER: outline
- set required postgres userPOSTGRES_PASSWORD: pass
- set required postgres passwordPOSTGRES_DB: outline
- set required postgres databasetest: ["CMD", "pg_isready -U outline"]
- set required postgres user instead of outline
https-portal:
DOMAINS: 'example.com -> http://outline:3000'
- set your domain instead of example.com
outline:
DATABASE_URL=postgres://outline:pass@postgres:5432/outline
- set user:password for databaseDATABASE_URL_TEST=postgres://outline:pass@postgres:5432/outline-test
- set user:password for test database
- Set
SECRET_KEY
andUTILS_SECRET
- Set at least one auth type according to the manual
- If you're using Google OAuth, please pay attention to the
Authorized redirect URIs
step, you must set correct correct http/https method (if you're using https-portal with certificate, it must be https)
- If you're using Google OAuth, please pay attention to the
docker-compose run --rm outline yarn sequelize db:create --env=production-ssl-disabled
Step may show you error, do not pay attention.
docker-compose run --rm outline yarn sequelize db:migrate --env=production-ssl-disabled
docker-compose up -d