Add Notemark. (#1200)
* Add notemark. * Fix error. * Fix nginx conf. * Update description.md --------- Co-authored-by: Nicolas Meienberger <47644445+meienberger@users.noreply.github.com>
This commit is contained in:
parent
02217c0101
commit
952454efda
|
@ -97,6 +97,7 @@ This is the official repository for the Tipi App Store. It contains all the apps
|
||||||
- [Nitter](https://github.com/zedeus/nitter) - Alternative Twitter front-end
|
- [Nitter](https://github.com/zedeus/nitter) - Alternative Twitter front-end
|
||||||
- [NocoDB](https://github.com/nocodb/nocodb) - Open Source Airtable Alternative
|
- [NocoDB](https://github.com/nocodb/nocodb) - Open Source Airtable Alternative
|
||||||
- [Node-RED](https://github.com/node-red/node-red) - Low-code programming for event-driven applications
|
- [Node-RED](https://github.com/node-red/node-red) - Low-code programming for event-driven applications
|
||||||
|
- [NoteMark](https://github.com/enchant97/note-mark/) - Note Mark is a lighting fast and minimal web-based Markdown notes app.
|
||||||
- [Ntfy](https://github.com/binwiederhier/ntfy) - A Straightforward Notification service that operates over HTTP
|
- [Ntfy](https://github.com/binwiederhier/ntfy) - A Straightforward Notification service that operates over HTTP
|
||||||
- [Obsidian LiveSync](https://github.com/vrtmrz/self-hosted-livesync-server) - LiveSync couchdb backend for Obsidian
|
- [Obsidian LiveSync](https://github.com/vrtmrz/self-hosted-livesync-server) - LiveSync couchdb backend for Obsidian
|
||||||
- [OneDev](https://code.onedev.io/onedev/server) - Self-hosted Git Server with Kanban and CI/CD
|
- [OneDev](https://code.onedev.io/onedev/server) - Self-hosted Git Server with Kanban and CI/CD
|
||||||
|
|
25
apps/notemark/config.json
Normal file
25
apps/notemark/config.json
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"$schema": "../schema.json",
|
||||||
|
"name": "Notemark",
|
||||||
|
"available": true,
|
||||||
|
"exposable": true,
|
||||||
|
"port": 8567,
|
||||||
|
"id": "notemark",
|
||||||
|
"tipi_version": 1,
|
||||||
|
"version": "0.7.0",
|
||||||
|
"categories": [
|
||||||
|
"utilities"
|
||||||
|
],
|
||||||
|
"description": "Note Mark is a lighting fast and minimal web-based Markdown notes app.",
|
||||||
|
"short_desc": "Lighting fast web-based Markdown notes app.",
|
||||||
|
"author": "enchant97",
|
||||||
|
"source": "https://github.com/enchant97/note-mark/",
|
||||||
|
"website": "https://notemark.docs.enchantedcode.co.uk/",
|
||||||
|
"form_fields": [
|
||||||
|
{
|
||||||
|
"type": "random",
|
||||||
|
"label": "Notemark secret",
|
||||||
|
"env_variable": "NOTEMARK_SERVICE_SECRET"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
19
apps/notemark/data/proxy/nginx.conf
Normal file
19
apps/notemark/data/proxy/nginx.conf
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
upstream notemark-backend {
|
||||||
|
server notemark-backend:8000;
|
||||||
|
}
|
||||||
|
|
||||||
|
upstream notemark {
|
||||||
|
server notemark:8000;
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://notemark;
|
||||||
|
}
|
||||||
|
|
||||||
|
location /api {
|
||||||
|
proxy_pass http://notemark-backend/api;
|
||||||
|
}
|
||||||
|
}
|
58
apps/notemark/docker-compose.yml
Normal file
58
apps/notemark/docker-compose.yml
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
version: "3.7"
|
||||||
|
services:
|
||||||
|
notemark-proxy:
|
||||||
|
container_name: notemark-proxy
|
||||||
|
image: nginx:alpine
|
||||||
|
ports:
|
||||||
|
- ${APP_PORT}:80
|
||||||
|
volumes:
|
||||||
|
- ${APP_DATA_DIR}/data/proxy/nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
labels:
|
||||||
|
# Main
|
||||||
|
traefik.enable: true
|
||||||
|
traefik.http.middlewares.notemark-web-redirect.redirectscheme.scheme: https
|
||||||
|
traefik.http.services.notemark.loadbalancer.server.port: 80
|
||||||
|
# Web
|
||||||
|
traefik.http.routers.notemark-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||||
|
traefik.http.routers.notemark-insecure.entrypoints: web
|
||||||
|
traefik.http.routers.notemark-insecure.service: notemark
|
||||||
|
traefik.http.routers.notemark-insecure.middlewares: notemark-web-redirect
|
||||||
|
# Websecure
|
||||||
|
traefik.http.routers.notemark.rule: Host(`${APP_DOMAIN}`)
|
||||||
|
traefik.http.routers.notemark.entrypoints: websecure
|
||||||
|
traefik.http.routers.notemark.service: notemark
|
||||||
|
traefik.http.routers.notemark.tls.certresolver: myresolver
|
||||||
|
# Local domain
|
||||||
|
traefik.http.routers.notemark-local-insecure.rule: Host(`notemark.${LOCAL_DOMAIN}`)
|
||||||
|
traefik.http.routers.notemark-local-insecure.entrypoints: web
|
||||||
|
traefik.http.routers.notemark-local-insecure.service: notemark
|
||||||
|
traefik.http.routers.notemark-local-insecure.middlewares: notemark-web-redirect
|
||||||
|
# Local domain secure
|
||||||
|
traefik.http.routers.notemark-local.rule: Host(`notemark.${LOCAL_DOMAIN}`)
|
||||||
|
traefik.http.routers.notemark-local.entrypoints: websecure
|
||||||
|
traefik.http.routers.notemark-local.service: notemark
|
||||||
|
traefik.http.routers.notemark-local.tls: true
|
||||||
|
|
||||||
|
notemark-backend:
|
||||||
|
image: ghcr.io/enchant97/note-mark-backend:0.7.0
|
||||||
|
container_name: notemark-backend
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
volumes:
|
||||||
|
- ${APP_DATA_DIR}/data:/data
|
||||||
|
environment:
|
||||||
|
JWT_SECRET: "${NOTEMARK_SERVICE_SECRET}"
|
||||||
|
CORS_ORIGINS: "*"
|
||||||
|
|
||||||
|
notemark:
|
||||||
|
image: ghcr.io/enchant97/note-mark-frontend:0.7.0
|
||||||
|
container_name: notemark
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- tipi_main_network
|
||||||
|
|
||||||
|
|
19
apps/notemark/metadata/description.md
Normal file
19
apps/notemark/metadata/description.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Note Mark
|
||||||
|
|
||||||
|
Note Mark is a lighting fast and minimal; web-based Markdown notes app. Featuring a sleek and responsive web UI.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
- Markdown (GitHub Flavored Markdown, see spec [here](https://github.github.com/gfm/))
|
||||||
|
- HTML sanitisation, minimizing XSS attacks
|
||||||
|
- Mobile Friendly
|
||||||
|
- Friendly "Slug" based URLs for cleaner links
|
||||||
|
- Dark & Light Theme
|
||||||
|
- Notebook Sharing
|
||||||
|
- Custom flat-file based storage system (easy to backup and synchronize)
|
||||||
|
- Multiple views for a note (rendered, plain)
|
||||||
|
- Editor with shortcuts
|
||||||
|
|
||||||
|
## Docs
|
||||||
|
Documentation is available here: [notemark.docs.enchantedcode.co.uk](https://notemark.docs.enchantedcode.co.uk/).
|
||||||
|
|
||||||
|
> Checkout [here](https://github.com/enchant97/note-mark/issues/47) for the roadmap.
|
BIN
apps/notemark/metadata/logo.jpg
Normal file
BIN
apps/notemark/metadata/logo.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Loading…
Reference in New Issue
Block a user