Use Lomanic's Scribe image

This commit is contained in:
Opnxng 2023-11-22 08:37:19 +08:00
parent a047a0fd2d
commit d6a71f093d
5 changed files with 26 additions and 13 deletions

View File

@ -14,11 +14,11 @@ They are deployed with [Compose files](templates/compose) and load balanced acco
## Configurations
Our SearXNG instance uses a custom [settings.yaml](templates/conf/settings.yaml.j2) that always include upstream changes. It is updated by hand with reference to [Pussthecat.org's configuration](https://github.com/PussTheCat-org/PussTheCat.org-Configs/tree/master/Services/SearXNG). Thanks to [TheFrenchGhosty](https://github.com/PussTheCat-org).
Our SearXNG instance uses a custom [settings.yml](templates/conf/settings.yml.j2) that always include upstream changes. It is updated by hand with reference to [Pussthecat.org's configuration](https://github.com/PussTheCat-org/PussTheCat.org-Configs/tree/master/Services/SearXNG). Thanks to [TheFrenchGhosty](https://github.com/PussTheCat-org).
Data of our Privatebin, Etherpad, and Gitea instance are backed up periodically.
Data of our Privatebin, Etherpad, and Gitea instances are backed up periodically.
Passwords and other sensitive data are kept locally as encrypted variables in [secrets.yaml](vars/secrets.example.yaml). We host an Authelia and Firefox stack that is restricted to specific users only. Their related files are also kept locally.
## Contact
Please contact us via [email](mailto:opnxng@tuta.io) if you discover any vulnerability or area for improvement in our infrastructure. We would truly appreciate it.
Please contact us via [email](mailto:opnxng@tuta.io) if you discover any vulnerability or area for improvement in our infrastructure. We would truly appreciate it.

View File

@ -1,3 +1,4 @@
---
# Define the location of the gnupg folder
vars:
gnupg_folder: "/home/{{ control_user }}/.gnupg"

View File

@ -12,7 +12,7 @@ services:
- TZ=Asia/Singapore
- LIBREDDIT_DEFAULT_THEME=black
- LIBREDDIT_DEFAULT_SHOW_NSFW=on
restart: unless-stopped
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
interval: 5m
@ -24,4 +24,4 @@ services:
networks:
libreddit:
name: libreddit
name: libreddit

View File

@ -3,7 +3,7 @@ version: '3.7'
services:
scribe:
container_name: scribe
image: git.opnxng.com/opnxng/scribe:latest
image: registry.gitlab.com/lomanic/scribe-binaries:latest
security_opt:
- no-new-privileges
environment:
@ -17,7 +17,7 @@ services:
- LUCKY_ENV=production
- APP_DOMAIN=m.opnxng.com
- SECRET_KEY_BASE="{{ scribe_jwt_secret }}"
restart: unless-stopped
restart: unless-stopped
ports:
- 8890:8088
networks:
@ -25,4 +25,4 @@ services:
networks:
scribe:
name: scribe
name: scribe

View File

@ -1,10 +1,22 @@
compose:
oracle4:
- caddy
config:
oracle1:
- scribe
oracle2:
- scribe
oracle3:
- scribe
oracle4:
- caddy
- scribe
compose:
oracle1:
- scribe
oracle2:
- scribe
oracle3:
- scribe
oracle4:
- scribe
# ----------------------------------------------------------------------------------------------------