safetwtich

This commit is contained in:
Arya 2023-07-01 23:40:31 +05:30
parent 5c65689cb2
commit 3daebdf9c2
Signed by: arya
GPG Key ID: 842D12BDA50DF120
5 changed files with 30 additions and 1 deletions

View File

@ -43,7 +43,7 @@ all:
caddy_extras_config: templates/1-extras.Caddyfile
country: Luxembourg
isp: BuyVM
wiki_page: Pizza1
wiki_page: Pizza-1
watchtower_mtrx_username: watchtower-pizza
us:
ansible_host: 100.64.0.3

View File

@ -0,0 +1,17 @@
version: "3.9"
services:
frontend:
image: codeberg.org/dragongoose/safetwitch
ports:
- "5070:80"
environment:
- SAFETWITCH_BACKEND_DOMAIN=api.safetwitch.{{inventory_hostname}}.projectsegfau.lt
- SAFETWITCH_INSTANCE_DOMAIN=safetwitch.projectsegfau.lt
- SAFETWITCH_HTTPS=true
backend:
image: codeberg.org/dragongoose/safetwitch-backend
ports:
- "5071:7000"
environment:
- PORT=7000
- URL=https://api.safetwitch.{{inventory_hostname}}.projectsegfau.lt

View File

@ -43,6 +43,7 @@
- libreddit
- nitter
- rimgo
- safetwitch
- scribe
- simplytranslate
- teddit

View File

@ -335,6 +335,13 @@ translate.{{inventory_hostname}}.projectsegfau.lt translate.projectsegfau.lt tl.
import def
reverse_proxy :5046
}
safetwitch.{{inventory_hostname}}.projectsegfau.lt safetwitch.projectsegfau.lt tw.psf.lt tw.{{inventory_hostname}}.psf.lt {
import def
reverse_proxy :5070
}
api.safetwitch.{{inventory_hostname}}.projectsegfau.lt {
reverse_proxy :5071
}
{% if inventory_hostname == 'eu' %}
{% else %}
search.{{inventory_hostname}}.projectsegfau.lt s.psf.lt s.{{inventory_hostname}}.psf.lt {

View File

@ -15,6 +15,10 @@ http://translate.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion
reverse_proxy localhost:5046
import tor translate
}
http://safetwitch.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
reverse_proxy localhost:5047
import tor safetwitch
}
http://nitter.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion http://pjsfs4ukb6prmfx3qx3a5ef2cpcupkvcrxdh72kqn2rxc2cw4nka.b32.i2p {
reverse_proxy localhost:8387
import tor nitter