Outline
Open source collaborative knowledge base for modern teams
linux
Restart Policy
unless-stopped
Sourced
Repo
Env Vars
NODE_ENV=production
SECRET_KEY=''
UTILS_SECRET=''
DATABASE_URL=''
DATABASE_URL_TEST=''
DATABASE_CONNECTION_POOL_MIN=''
DATABASE_CONNECTION_POOL_MAX=''
REDIS_URL=''
URL=''
PORT=3000
COLLABORATION_URL=''
GOOGLE_CLIENT_ID=''
GOOGLE_CLIENT_SECRET=''
SSL_KEY=''
SSL_CERT=''
FORCE_HTTPS=true
ENABLE_UPDATES=true
WEB_CONCURRENCY=1
MAXIMUM_IMPORT_SIZE=5120000
DEBUG=http
LOG_LEVEL=info
GOOGLE_ANALYTICS_ID=''
SENTRY_DSN=''
SENTRY_TUNNEL=''
SMTP_HOST=''
SMTP_PORT=''
SMTP_USERNAME=''
SMTP_PASSWORD=''
SMTP_FROM_EMAIL=''
SMTP_REPLY_EMAIL=''
SMTP_TLS_CIPHERS=''
SMTP_SECURE=true
DEFAULT_LANGUAGE=en_US
RATE_LIMITER_ENABLED=true
RATE_LIMITER_REQUESTS=1000
RATE_LIMITER_DURATION_WINDOW=60
Services
outline
docker.getoutline.com/outlinewiki/outline:latest
Ports
3000:3000
redis
redis
Command
redis-server,/redis.conf
Ports
6379:6379
/redis.conf : ./redis.conf
postgres
postgres
Ports
5432:5432
/var/lib/postgresql/data : database-data
user=''
pass=''
outline=''
storage
minio/minio
Command
-c 'minio server'
Ports
9000:9000
/data : storage-data
sh
Env Vars
https-portal
steveltn/https-portal
Ports
80:80
443:443
/var/lib/https-portal : https-portal-data
always
Env Vars
docs.mycompany.com -> https://outline:3000=''
production=''
true=''
Installation
Via Portainer
- Ensure both Docker and Portainer are installed, and up-to-date
- Log into your Portainer web UI
- Under Settings → App Templates, paste the below URL
- Head to Home → App Templates, and the list of apps will show up
- Select the app you wish to deploy, fill in any config options, and hit Deploy
Template Import URL
https://raw.githubusercontent.com/Lissy93/portainer-templates/main/templates.json
Show Me
Via Docker Run
Service #1 - outline
docker run --name outline -d \
-p 3000:3000 \
docker.getoutline.com/outlinewiki/outline:latest
Service #2 - redis
docker run --name redis -d \
redis-server,/redis.conf \
-p 6379:6379 \
-v ./redis.conf:/redis.conf \
redis
Service #3 - postgres
docker run --name postgres -d \
-e "" \
-e "" \
-e "" \
-p 5432:5432 \
-v database-data:/var/lib/postgresql/data \
postgres
Service #4 - storage
docker run --name storage -d \
-c 'minio server' \
-p 9000:9000 \
-v storage-data:/data \
minio/minio
Service #5 - https-portal
docker run --name https-portal -d \
-e "" \
-e "" \
-e "" \
-p 80:80 \
-p 443:443 \
-v https-portal-data:/var/lib/https-portal \
--restart=always \
steveltn/https-portal
Via Docker Compose
Save this file as docker-compose.yml
and run docker-compose up -d
Use this only as a guide.
- name: outline
image: docker.getoutline.com/outlinewiki/outline:latest
ports:
- '3000:3000'
env: []
- name: redis
image: redis
command:
- redis-server
- /redis.conf
ports:
- '6379:6379'
volumes:
- bind: ./redis.conf
container: /redis.conf
env: []
- name: postgres
image: postgres
ports:
- '5432:5432'
volumes:
- bind: database-data
container: /var/lib/postgresql/data
env:
- name: user
value: ''
- name: pass
value: ''
- name: outline
value: ''
- name: storage
image: minio/minio
entrypoint: sh
command: '-c ''minio server'''
ports:
- '9000:9000'
volumes:
- bind: storage-data
container: /data
env: []
- name: https-portal
image: steveltn/https-portal
ports:
- '80:80'
- '443:443'
volumes:
- bind: https-portal-data
container: /var/lib/https-portal
restart_policy: always
env:
- name: docs.mycompany.com -> https://outline:3000
value: ''
- name: production
value: ''
- name: 'true'
value: ''
Alternative Methods
For more installation options, see the Documentation in the GitHub repo
Container Documentation
redis Documentation
Redis is the world’s fastest data platform for caching, vector search, and NoSQL databases.
postgres Documentation
The PostgreSQL object-relational database system provides reliability and data integrity.
storage Documentation
Multi-Cloud Object Storage
https-portal Documentation
A fully automated HTTPS server powered by Nginx, Let's Encrypt and Docker.