Giter Site home page Giter Site logo

zhixingfeng / docker-outline Goto Github PK

View Code? Open in Web Editor NEW

This project forked from soulteary/docker-outline

0.0 1.0 0.0 26 KB

A simple and reliable self-hosted plan for Outline.

Home Page: https://github.com/soulteary/docker-sso-server

License: Creative Commons Zero v1.0 Universal

Shell 71.67% Dockerfile 28.33%

docker-outline's Introduction

README

This project is mainly used to demonstrate how to use privatized deployment (Self-Hosted).

You can replace .env with a new version number to complete an unsense upgrade of the application.

中文用户可以阅读下面的配置教程

Project Dependency

  • Traefik: traefik:v2.5
    • Used as a service gateway for various applications, providing service discovery, domain name binding and other functions.
  • Outline Server: outlinewiki/outline:0.60.3
    • Outline application.
  • S3 Server: minio/minio:RELEASE.2021-09-03T03-56-13Z
    • Provide object storage capabilities.
  • S3 Client: minio/mc:RELEASE.2021-09-02T09-21-27Z
    • Initialize the bucket required by the application
  • SSO Server: soulteary/sso-server:1.1.5
    • Make it possible for the outline to log in locally.
  • Database: postgres:13.3
    • Store all document related data.
  • Redis: redis:6.2.4
    • Cache service to make your application run faster.
  • Attachment: andreimarcu/linx-server:version-2.3.8
    • Outline currently does not support attachments, this small tool can be used as a supplement.

Usage

  1. Make a copy of the default configuration .env.example and save the file name as .env. Modify the content in according to your needs, such as domain name, various "user names" and "passwords".
cp .env.example .env
  1. According to your actual situation, create a virtual network card to provide in-container and external services.
docker network create traefik
docker network create outline
  1. Use docker-compose to start the service. Wait for the status of all services to become healthy.
docker-compose -f docker-compose.postgres.yml -f docker-compose.redis.yml -f docker-compose.minio.yml -f docker-compose.attachment.yml -f docker-compose.sso.yml -f docker-compose.outline.yml up -d
Creating outline_minio    ... done
Creating outline-postgres ... done
Creating outline-redis    ... done
Creating linx-server      ... done
Creating outline          ... done
Creating sso-server       ... done
  1. Use docker-compose to check if the service is ready.
docker-compose -f docker-compose.postgres.yml -f docker-compose.redis.yml -f docker-compose.minio.yml -f docker-compose.attachment.yml -f docker-compose.sso.yml -f docker-compose.outline.yml ps   
      Name                    Command                  State        Ports  
---------------------------------------------------------------------------
linx-server        /usr/local/bin/linx-server ...   Up (healthy)   8080/tcp
outline            docker-entrypoint.sh sh -c ...   Up (healthy)   3000/tcp
outline-postgres   docker-entrypoint.sh postgres    Up (healthy)   5432/tcp
outline-redis      docker-entrypoint.sh redis ...   Up (healthy)   6379/tcp
outline_minio      /usr/bin/docker-entrypoint ...   Up (healthy)   9000/tcp
sso-server         docker-entrypoint.sh ./main      Up (healthy)   80/tcp   
  1. Create the bucket storage space required for the application

It only needs to be executed when the application is first initialized.

docker-compose -f docker-compose.minio-init.yml up 
Recreating outline_minio_client ... done
Attaching to docker-outline_minio-client_1
minio-client_1  | Removed `local` successfully.
minio-client_1  | Added `local` successfully.
minio-client_1  | Bucket created successfully `local/outline/`.
minio-client_1  | Access permission for `local/outline` is set to `public`
docker-outline_minio-client_1 exited with code 0
  1. Open the browser and enjoy.

docker-outline's People

Contributors

soulteary avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.