mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-05-11 01:40:35 +00:00
notea
This commit is contained in:
parent
a0efb15e92
commit
1055c7846b
@ -348,6 +348,7 @@ The aims is to provide a ready-to-run recipes that you can just copy, paste and
|
||||
- [Confluence](apps/wiki/confluence.md)
|
||||
- [Bluespice free](apps/wiki/bluespice.md)
|
||||
- [Bookstack](apps/wiki/bookstack.md)
|
||||
- [Notea](apps/wiki/notea.md)
|
||||
- [Wiki.js](apps/wiki/wikijs.md)
|
||||
- [XWiki](apps/wiki/xwiki.md)
|
||||
|
||||
|
63
apps/wiki/notea.md
Normal file
63
apps/wiki/notea.md
Normal file
@ -0,0 +1,63 @@
|
||||
# Notea
|
||||
|
||||
- This is probably more of a note-taking app rather than a wiki, but why not :-)
|
||||
- Setup with docker is a bit more challenging than the usual `docker-compose up -d`
|
||||
- Layout is very minimalistic
|
||||
- Command palette!
|
||||
- `/<command>` when writing is great!
|
||||
- Extremely fast to start-up (not really a feature, but still impressive)
|
||||
|
||||
<br>
|
||||
|
||||
- [Homepage](https://cinwell.com/notea/)
|
||||
- [GitHub repo](https://github.com/QingWei-Li/notea)
|
||||
|
||||
|
||||
## docker-compose.yml
|
||||
```yml
|
||||
---
|
||||
services:
|
||||
notea:
|
||||
image: cinwell/notea
|
||||
container_name: notea
|
||||
environment:
|
||||
- STORE_ACCESS_KEY=086o0ITYnydXRzxO
|
||||
- STORE_SECRET_KEY=7FKZabUq7LCWyhgYyTh39A26vZMKb99G
|
||||
- STORE_BUCKET=notea
|
||||
- STORE_END_POINT=http://notea-db:9000
|
||||
- STORE_FORCE_PATH_STYLE=true
|
||||
- COOKIE_SECURE=false
|
||||
- BASE_URL="http://192.168.1.10:3123/"
|
||||
#- PASSWORD=notea
|
||||
- DISABLE_PASSWORD=true
|
||||
ports:
|
||||
- "3123:3000"
|
||||
|
||||
notea-db:
|
||||
image: minio/minio
|
||||
container_name: notea-db
|
||||
command: server /data --console-address ":9001"
|
||||
environment:
|
||||
#- MINIO_BROWSER=off
|
||||
- MINIO_ROOT_USER=admin
|
||||
- MINIO_ROOT_PASSWORD=admin123
|
||||
ports:
|
||||
- "3124:9000"
|
||||
- "3125:9001"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
```
|
||||
|
||||
### Next steps
|
||||
Notea requires external storage. Minio container stands in place of Amazon S3. We just need to create a "Bucket" in minio, so:
|
||||
#### Create a Bucket
|
||||
1. Go to <serverIP:3125> (- minio admin console)
|
||||
2. Login using `admin:admin123` credentials from `docker-compose.yml` file
|
||||
3. Create a new bucket with the name `notea` (no need for any other options, just name)
|
||||
|
||||
#### Access Keys
|
||||
1. Next click "Identity/Service Accounts" in the sidebar and click "Create service account" button
|
||||
2. Either copy the "Access Key" and "Secret Key" from the yaml above or generate a new pair of keys and update them in your `docker-compose.yml` (and restart it afterwards).
|
||||
|
||||
That's it!
|
||||
Notea should be available at <serverIP:3123>
|
Loading…
Reference in New Issue
Block a user