Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ Install a self-hosted [Outline](https://github.com/outline/outline) wiki instanc
2. Open `http://127.0.0.1:8888` and login to outline.
3. Open `http://127.0.0.1:8888/uc/admin/auth/user/` to add new users.

> [!CAUTION]
> If you got the following message after running `make install`, then cancel the run (ctrl +c) and rerun `make install`.
>
> `Something goes wrong: no such table: oidc_provider_rsakey`
>
> This is related with the authentication error, `Authentication failed – we were unable to sign you in at this time. Please try again.`

## scripts/config.sh

The config file [scripts/config.sh.sample](scripts/config.sh.sample)
Expand All @@ -40,3 +47,6 @@ The config file [scripts/config.sh.sample](scripts/config.sh.sample)
1. Q: Added a new user, but can't login the outline
- You should add an email for the new user
- If the domain in the email is not the same as the admin user's domain, you should add the domain to the settings `ALLOWED_DOMAINS`

2. Q: How to expose outline site to public
- In `scripts/config.sh` file, change the line `URL=http://127.0.0.1:8888` to `URL=<my_url>:8888`
4 changes: 2 additions & 2 deletions scripts/config.sh.sample
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ FORCE_HTTPS=false
ALLOWED_DOMAINS=

# Docker image version
OUTLINE_VERSION=0.72.0-3
OUTLINE_VERSION=0.74.0
POSTGRES_VERSION=15.2-alpine3.17
MINIO_VERSION=RELEASE.2022-11-17T23-20-09Z
MINIO_MC_VERSION=RELEASE.2022-11-17T21-20-39Z
Expand All @@ -27,7 +27,7 @@ MINIO_MC_VERSION=RELEASE.2022-11-17T21-20-39Z
# The nginx bind ip and port.
# If you use ip address to access outline, this ip and port should be same as the URL.
# If this server behind a proxy(nginx), you can bind to `127.0.0.1`.
HTTP_IP=127.0.0.1
HTTP_IP=0.0.0.0
HTTP_PORT_IP=8888

# Docker
Expand Down
11 changes: 11 additions & 0 deletions scripts/templates/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ services:
- ./env.oidc
volumes:
- ./data/outline:/var/lib/outline/data
user: 0:0
restart: always
depends_on:
- wk-postgres
Expand Down Expand Up @@ -93,6 +94,16 @@ services:
- wk-oidc-server
networks:
- ${NETWORKS}
##BEGIN drawio
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part might be unnecessary. Since your configuration do not show any integration with drawio

wk-drawio:
image: jgraph/drawio
restart: always
networks:
- ${NETWORKS}
ports:
- 8081:8080
- 8443:8443
##END
networks:
${NETWORKS}:
external: ${NETWORKS_EXTERNAL}