mdbook to wikijs
This commit is contained in:
parent
cea12a1a35
commit
fa9c4c0201
|
@ -1,18 +1,25 @@
|
|||
services:
|
||||
mdbook:
|
||||
container_name: mdbook
|
||||
image: thefarwind/mdbook
|
||||
wikijs:
|
||||
container_name: wikijs
|
||||
image: ghcr.io/requarks/wiki:2
|
||||
restart: unless-stopped
|
||||
entrypoint: mdbook serve --hostname 0.0.0.0
|
||||
depends_on:
|
||||
- postgres
|
||||
environment:
|
||||
- DB_TYPE=postgres
|
||||
- DB_HOST=postgres
|
||||
- DB_PORT=5432
|
||||
- DB_USER=postgres
|
||||
- DB_PASS=${POSTGRES_PASSWORD}
|
||||
- DB_NAME=wikijs
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.mdbook.rule=Host(`wiki.bhasher.com`)"
|
||||
- "traefik.http.routers.mdbook.entrypoints=internalsecure"
|
||||
- "traefik.http.services.mdbook.loadbalancer.server.port=3000"
|
||||
- "traefik.http.routers.mdbook.tls=true"
|
||||
- "traefik.http.routers.mdbook.tls.certresolver=http"
|
||||
volumes:
|
||||
- $CONFIG/wiki:/src
|
||||
- "traefik.http.routers.wikijs.rule=Host(`wiki.bhasher.com`)"
|
||||
- "traefik.http.routers.wikijs.entrypoints=internalsecure"
|
||||
- "traefik.http.services.wikijs.loadbalancer.server.port=3000"
|
||||
- "traefik.http.routers.wikijs.tls=true"
|
||||
- "traefik.http.routers.wikijs.tls.certresolver=http"
|
||||
networks:
|
||||
- storage
|
||||
- external
|
||||
|
||||
|
|
|
@ -220,4 +220,18 @@ identity_providers:
|
|||
- profile
|
||||
- email
|
||||
userinfo_signing_algorithm: none
|
||||
- id: wikijs
|
||||
description: WikiJS
|
||||
secret: '$argon2id$v=19$m=65536,t=3,p=4$aAnFAm2XL8rGMOLhMpgL1Q$ZBJ3v0d1guzLj/FVBTJz2v+ZAhy/jZc7B4iNozvx+hU'
|
||||
public: false
|
||||
authorization_policy: one_factor
|
||||
redirect_uris:
|
||||
- https://wiki.bhasher.com/login/4b20571d-a8d7-4384-a95c-589fe7fc7ab6/callback
|
||||
consent_mode: implicit
|
||||
scopes:
|
||||
- openid
|
||||
- profile
|
||||
- email
|
||||
- groups
|
||||
userinfo_signing_algorithm: none
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
# Introduction
|
|
@ -1,9 +0,0 @@
|
|||
# Summary
|
||||
|
||||
[Introduction](README.md)
|
||||
|
||||
# User Guide
|
||||
|
||||
- [Vaultwarden](user-guide/vaultwarden.md)
|
||||
|
||||
|
Loading…
Reference in New Issue