diff --git a/README.md b/README.md index 08c6517..52e905a 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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=:8888` diff --git a/scripts/config.sh.sample b/scripts/config.sh.sample index be4311e..72ffc67 100644 --- a/scripts/config.sh.sample +++ b/scripts/config.sh.sample @@ -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 @@ -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 diff --git a/scripts/templates/docker-compose.yml b/scripts/templates/docker-compose.yml index 1172931..8616513 100644 --- a/scripts/templates/docker-compose.yml +++ b/scripts/templates/docker-compose.yml @@ -57,6 +57,7 @@ services: - ./env.oidc volumes: - ./data/outline:/var/lib/outline/data + user: 0:0 restart: always depends_on: - wk-postgres @@ -93,6 +94,16 @@ services: - wk-oidc-server networks: - ${NETWORKS} +##BEGIN drawio + wk-drawio: + image: jgraph/drawio + restart: always + networks: + - ${NETWORKS} + ports: + - 8081:8080 + - 8443:8443 +##END networks: ${NETWORKS}: external: ${NETWORKS_EXTERNAL}