Auto saved by Logseq

This commit is contained in:
2024-11-21 21:44:32 +07:00
parent e92fadc39d
commit a9a9d39fc3

85
pages/Index.md Normal file
View File

@@ -0,0 +1,85 @@
tags:: project page, project
icon:: 🤘
- ### Project Meta
- DOING #project [[rock.ru/Reborn]]
- query-table:: false
collapsed:: true
#+BEGIN_QUERY
{:title [:h4 "Tasks related to [[rock.ru/Reborn]]"]
:query [:find (pull ?b [*])
:in $ ?current-page
:where
[?p :block/name ?current-page]
[?b :block/marker ?marker]
[?p :block/alias ?al]
(or [?b :block/refs ?p] [?b :block/refs ?al])
(or
[(= "NOW" ?marker)]
[(= "DOING" ?marker)]
[(= "WAITING" ?marker)]
[(= "LATER" ?marker)]
)
(not [?b :block/page ?p])
]
:inputs [:current-page]
:result-transform (fn [result]
(sort-by (fn [b]
(get b :block/priority "Z")) result))
:breadcrumb-show? false
:table-view? false
}
#+END_QUERY
- query-table:: false
#+BEGIN_QUERY
{:title [:h4 "Checklist"]
:query (and (todo todo) (page [[rock.ru/Reborn]]))
:result-transform (fn [result]
(sort-by (fn [b]
(get b :block/priority "Z")) result))
:breadcrumb-show? false
:table-view? false
}
#+END_QUERY
- ### Architecture
- Should fit into [Contabo Cloud VPS-2](https://contabo.com/en/vps/cloud-vps-2/) instance
- #### Components
- HTTPS for everything
- A frontend container with nginx for rounting
- To be eventually replaced by ingress-nginx?
- [[Backblaze B2]] for static files
- At first, at least for http://photo.rock.ru
- Serve content through [[Cloudflare]]
- Some email marketing service (free tier should be enough) for notifications
- [[SendGrid]]
- [[MailGun]]
- Others?
- MySQL container
- To be split in several databases/containers?
- MongoDB container
- Primarily used for user ignores
- Can be replaced by redis
- Also hosts "encyclopedia" data, mainly from discogs
- Can probably be skipped for now
- Memcached container
- HAProxy container (legacy to be removed?)
- Multiple PHP containers for different apps
- PHP for legacy site
- PHP for "new" site
- PHP for forum
- PHP for chat
- PHP (?) for photo.rock.ru
- Or replace with a new app, since it needs to be rewritten to support #[[Backblaze B2]]
- img.rock.ru for static files (the app isn't entirely static itself)
- #### General considerations
- Only current logs to be stored locally
- Upon (daily?) rotation, logs are to be copied to another location
- Streamed into some ELK stack or similar?
- ### Until I can afford a new server
- TODO Put up a static site with explanation that I'm out of resources to support it
- For the time being. All data is safe, and the site will be back as soon as possible.
- Host it on [[Cloudflare/pages]]
- TODO Add a donation page to the static placeholder
- TODO Get crypto wallet addresses from Abby
-
-