docs: update project/infrastructure/wiki

This commit is contained in:
lukas 2025-04-28 17:08:04 +00:00
parent c0b1b46567
commit 2f4fcd0381

View File

@ -2,7 +2,7 @@
title: Wiki
description:
published: true
date: 2025-04-28T16:48:19.667Z
date: 2025-04-28T17:08:02.543Z
tags:
editor: markdown
dateCreated: 2025-04-28T16:15:31.727Z
@ -14,17 +14,32 @@ dateCreated: 2025-04-28T16:15:31.727Z
## Set up
- From the Cloudron WebUI, open a terminal session inside the `wiki` container. Generate a SSH key pair inside this container and put in under `/app/data/`
### Git synchronization
The following allows for the Git repository `https://git.phyllo.me/roots/wiki` to be bilaterally synced with the wiki.
- From the Cloudron Web User Interface, open a terminal session inside the `wiki` container.
- Generate an SSH key pair inside this container and put in under `/app/data/`
- Create a local repository path too, `mkdir /app/data/repo`
- Log into with an admin account
- Go to to *Modules* -> *Storage* and select *Git*.
- Go to *Modules* > *Storage* and select *Git*.
- Under *Authentication Type*, select *ssh*
- Assuming the repository is hosted on git.phyllo.me and the roots organizsation, use `ssh://git@git.phyllo.me:29418/roots/wiki.git` under *Repository URI*
- Assuming the repository is hosted on git.phyllo.me and the *roots* organization, use `ssh://git@git.phyllo.me:29418/roots/wiki.git` under *Repository URI*
- Under *Branch*, pick main
- Under *SSH Private Key Mode*, pick *path*
- Under *SSH Private Key Path*, pick `/app/data/id_rsa`
- Under *Default Author Name*, pick `lukas at phyllo me`
- Under *Default Author Name*, pick lukas
- Under Local Repository Path, pick */app/data/repo*
- Choose *Bi-directionnal* sync and then force sync to check if everything is working as expected.
- Choose *Bidirectional* sync and then force sync to check if everything is working as expected.
### Adding new users to the Editor group
New users coming from Cloudron can be automatically added to the Editor group.
To do so,
- Navigate to *Administration* > *Authentication*.
- Under *Active Strategies*, select Cloudron.
- Under *Registration*, make sure that *Allow self-registration* is enabled and add the *Editors group* to the *Assign to group* field.
- It is also a good idea to add *phyllo.me* and *phyllome.org* to the *Limit to specific email domains* field.