Quellcode durchsuchen

📝: update paste.sr.ht desc

ulyc vor 2 Jahren
Ursprung
Commit
42fa848a66
3 geänderte Dateien mit 85 neuen und 11 gelöschten Zeilen
  1. 77 0
      README.md
  2. 4 6
      base/Dockerfile
  3. 4 5
      init.sh

+ 77 - 0
README.md

@@ -0,0 +1,77 @@
+- SourceCode: https://sr.ht/~sircmpwn/sourcehut/sources
+
+- About Builds: https://man.sr.ht/builds.sr.ht/installation.md
+
+- sourcehut pages https://srht.site/quickstart
+
+参考:
+- https://git.sr.ht/~kolk/srht-docker/tree/master/item/docker-compose.yml
+- https://git.sr.ht/~robertgzr/sourcehut-containers/tree
+
+
+
+- https://emersion.fr/blog/2021/setting-up-sr.ht-for-local-development/
+
+
+
+### [meta.sr.ht](https://git.sr.ht/~sircmpwn/meta.sr.ht):
+##### Daemons
+-   `meta.sr.ht` — The web service.
+-   `meta.sr.ht-api` — The API service.
+-   `meta.sr.ht-webhooks` — Webhook delivery service.
+
+##### [#](https://man.sr.ht/meta.sr.ht/installation.md#cronjobs)Cronjobs
+- metasrht-daily: Purges old audit log entries and runs billing.
+
+
+### [git.sr.ht]([https://git.sr.ht/~sircmpwn/git.sr.ht](https://git.sr.ht/~sircmpwn/git.sr.ht))
+##### Daemons
+-   `git.sr.ht` — The web service.
+-   `git.sr.ht-api` — The API service.
+-   `git.sr.ht-webhooks` — Webhook delivery service.
+
+##### [#](https://man.sr.ht/git.sr.ht/installation.md#cronjobs)Cronjobs
+-   `gitsrht-periodic` — Performs various maintenance tasks.
+
+### hg.sr.ht
+##### Daemons
+-   `hg.sr.ht` — The web service.
+
+##### [#](https://man.sr.ht/hg.sr.ht/installation.md#cronjobs)Cronjobs
+-   `hgsrht-periodic`: Performs various maintenance tasks.
+-   `hgsrht-clonebundles` (optional): Generates [clone bundles](https://www.mercurial-scm.org/wiki/ClonebundlesExtension).
+
+## [ lists.sr.ht]([https://git.sr.ht/~sircmpwn/lists.sr.ht](https://git.sr.ht/~sircmpwn/lists.sr.ht))
+##### Daemons
+-   `lists.sr.ht` — The web service.
+-   `lists.sr.ht-lmtp` — Incoming mail service.
+-   `lists.sr.ht-process` — Mail processing service. 
+-   `lists.sr.ht-webhooks` — Webhook delivery service.
+##### Configuration
+See [Configuration](https://man.sr.ht/lists.sr.ht/configuration.md).
+
+### man.sr.ht
+##### Daemons
+-   `man.sr.ht` — The web service.
+##### Configuration
+
+See [Configuration](https://man.sr.ht/man.sr.ht/configuration.md).
+
+#### paste.sr.ht
+##### Daemons
+-   `paste.sr.ht` — The web service.
+
+### [todo.sr.ht](https://git.sr.ht/~sircmpwn/todo.sr.ht](https://git.sr.ht/~sircmpwn/todo.sr.ht)
+##### Daemons
+
+-   `todo.sr.ht` — The web service.
+-   `todo.sr.ht-lmtp` — Incoming mail service.
+-   `todo.sr.ht-webhooks` — Webhook delivery service.
+
+##### [#](https://man.sr.ht/todo.sr.ht/installation.md#configuration)Configuration
+
+See [Configuration](https://man.sr.ht/todo.sr.ht/configuration.md).
+
+
+###  dispatch.sr.ht
+ [Planned deprecation of dispatch.sr.ht](https://sourcehut.org/blog/2022-08-01-dispatch-deprecation-plans/)

+ 4 - 6
base/Dockerfile

@@ -1,10 +1,8 @@
-FROM alpine:3.15.5
+FROM alpine:3.15.6
 
-RUN echo 'https://mirror.sr.ht/alpine/v3.15/sr.ht' >> /etc/apk/repositories
+RUN sed -i '1 i https://mirror.sr.ht/alpine/v3.15/sr.ht'  /etc/apk/repositories
 RUN wget -q -O /etc/apk/keys/alpine@sr.ht.rsa.pub https://mirror.sr.ht/alpine/alpine@sr.ht.rsa.pub
-
 RUN apk update
-RUN apk add py3-gunicorn py3-psycopg2
-
-# install meta
 RUN apk add meta.sr.ht
+
+

+ 4 - 5
init.sh

@@ -123,16 +123,15 @@ function advance_config() {
   echo -e "Do you want to use ${cyan}Wiki service${none}? ${cyan}1.Yes${none} or ${cyan}2.No${none}?"
   add_module "$man_module"
 
-  # Syntax highlighting
-  # paste.sr.ht
-  echo -e "Do you want to use ${cyan}Syntax highlighting${none}? ${cyan}1.Yes${none} or ${cyan}2.No${none}?"
-  add_module "$paste_module"
-
   # issue and bug tracker service
   # todo.sr.ht
   echo -e "Do you want to use ${cyan}issue and bug tracker service${none}? ${cyan}1.Yes${none} or ${cyan}2.No${none}?"
   add_module "$todo_module"
 
+  # Syntax highlighting
+  # paste.sr.ht
+  echo -e "Do you want to use ${cyan} ad-hoc text file service${none}? ${cyan}1.Yes${none} or ${cyan}2.No${none}?"
+  add_module "$paste_module"
 }
 
 function select_mode() {