Portainer Templates

Outline

ProductivitySocial

Open source collaborative knowledge base for modern teams

Type Kubernetes Platform linux Restart Policy unless-stopped Sourced Repo Env Vars

NODE_ENV=productionSECRET_KEY=''UTILS_SECRET=''DATABASE_URL=''DATABASE_URL_TEST=''DATABASE_CONNECTION_POOL_MIN=''DATABASE_CONNECTION_POOL_MAX=''REDIS_URL=''URL=''PORT=3000COLLABORATION_URL=''GOOGLE_CLIENT_ID=''GOOGLE_CLIENT_SECRET=''SSL_KEY=''SSL_CERT=''FORCE_HTTPS=trueENABLE_UPDATES=trueWEB_CONCURRENCY=1MAXIMUM_IMPORT_SIZE=5120000DEBUG=httpLOG_LEVEL=infoGOOGLE_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=trueDEFAULT_LANGUAGE=en_USRATE_LIMITER_ENABLED=trueRATE_LIMITER_REQUESTS=1000RATE_LIMITER_DURATION_WINDOW=60

Services

outline

Image docker.getoutline.com/outlinewiki/outline:latest Ports

3000:3000

Env Vars

redis

Image redis Command redis-server,/redis.conf Ports

6379:6379

Volumes

/redis.conf : ./redis.conf

Env Vars

Pulls: 9.4B
Stars: 13.1k
User: stackbrew
Created: Jun 05, 2014
Updated: 14 days ago
Status: active

postgres

Image postgres Ports

5432:5432

Volumes

/var/lib/postgresql/data : database-data

Env Vars

user=''pass=''outline=''

Pulls: 9.3B
Stars: 13.9k
User: stackbrew
Created: Jun 05, 2014
Updated: 4 days ago
Status: active

storage

Image minio/minio Command -c 'minio server' Ports

9000:9000

Volumes

/data : storage-data

Entrypoint sh Env Vars

Pulls: 1.7B
Stars: 888
User: minio
Created: Jun 21, 2016
Updated: 19 days ago
Status: active

https-portal

Image steveltn/https-portal Ports

80:80443:443

Volumes

/var/lib/https-portal : https-portal-data

Restart Policy always Env Vars

docs.mycompany.com -> https://outline:3000=''production=''true=''

Pulls: 18.9M
Stars: 144
User: steveltn
Created: Jan 06, 2016
Updated: 1 month ago
Status: active

Installation

Via Portainer

  1. Ensure both Docker and Portainer are installed, and up-to-date
  2. Log into your Portainer web UI
  3. Under Settings → App Templates, paste the below URL
  4. Head to Home → App Templates, and the list of apps will show up
  5. 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 demo

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.