docker/caddy is ansiblized
This commit is contained in:
parent
55d9ec2436
commit
6254d54f7c
@ -1,77 +0,0 @@
|
||||
(tor) {
|
||||
header {
|
||||
-Strict-Transport-Security
|
||||
-Referrer-Policy
|
||||
-X-XSS-Protection
|
||||
-Content-Security-Policy
|
||||
# disable clients from sniffing the media type
|
||||
X-Content-Type-Options nosniff
|
||||
Permissions-Policy interest-cohort=()
|
||||
# clickjacking protection
|
||||
X-Frame-Options SAMEORIGIN
|
||||
Onion-Location http://{args.0}.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion{path}
|
||||
defer
|
||||
}
|
||||
}
|
||||
(torloc) {
|
||||
header Onion-Location http://{args.0}.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion{path}
|
||||
}
|
||||
(i2ploc) {
|
||||
header X-I2P-Location http://{args.0}{path}
|
||||
}
|
||||
(def) {
|
||||
header {
|
||||
# disable FLoC tracking
|
||||
Permissions-Policy interest-cohort=()
|
||||
# enable HSTS
|
||||
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||
# disable clients from sniffing the media type
|
||||
X-Content-Type-Options nosniff
|
||||
# clickjacking protection
|
||||
X-Frame-Options SAMEORIGIN
|
||||
# keep referrer data off of HTTP connections
|
||||
#Referrer-Policy no-referrer-when-downgrade
|
||||
X-XSS-Protection "1; mode=block"
|
||||
defer
|
||||
}
|
||||
}
|
||||
|
||||
:80 pizza1.projectsegfau.lt pizza.projectsegfau.lt {
|
||||
redir https://wiki.projectsegfau.lt/index.php?title=Pizza-1
|
||||
}
|
||||
|
||||
import /etc/private.caddy
|
||||
import ./*.caddy
|
||||
|
||||
stats.eu.projectsegfau.lt {
|
||||
import auth
|
||||
reverse_proxy localhost:9100
|
||||
import def
|
||||
}
|
||||
arya.projectsegfau.lt aryak.me {
|
||||
reverse_proxy https://arya.p.projectsegfau.lt {
|
||||
header_up Host arya.p.projectsegfau.lt
|
||||
}
|
||||
}
|
||||
cdn.eu.projectsegfau.lt cdn.projectsegfau.lt {
|
||||
encode zstd gzip
|
||||
root * /var/cdn
|
||||
file_server browse
|
||||
}
|
||||
## OLD URL REDIRECTS
|
||||
invidious.mutahar.rocks {
|
||||
redir https://inv.bp.projectsegfau.lt{uri} permanent
|
||||
}
|
||||
ferrit.projectsegfau.lt snooddit.projectsegfau.lt libreddit.mutahar.rocks {
|
||||
redir https://libreddit.projectsegfau.lt{uri} permanent
|
||||
}
|
||||
lbry.mutahar.rocks {
|
||||
redir https://lbry.projectsegfau.lt{uri} permanent
|
||||
}
|
||||
nitter.mutahar.rocks {
|
||||
redir https://nitter.projectsegfau.lt{uri} permanent
|
||||
}
|
||||
#redir inv.bp.mutahar.rocks inv.bp.projectsegfau.lt permanent
|
||||
#redir libreddit.mutahar.rocks libreddit.projectsegfau.lt permanent
|
||||
#redir lbry.mutahar.rocks lbry.projectsegfau.lt permanent
|
||||
#redir nitter.mutahar.rocks nitter.projectsegfau.lt permanent
|
@ -1,90 +0,0 @@
|
||||
## Privacy Frontends
|
||||
inv.bp.projectsegfau.lt {
|
||||
reverse_proxy localhost:3000
|
||||
import torloc invbp
|
||||
header {
|
||||
# disable FLoC tracking
|
||||
Permissions-Policy interest-cohort=()
|
||||
|
||||
# enable HSTS
|
||||
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||
# disable clients from sniffing the media type
|
||||
X-Content-Type-Options nosniff
|
||||
|
||||
# keep referrer data off of HTTP connections
|
||||
Referrer-Policy no-referrer-when-downgrade
|
||||
|
||||
X-XSS-Protection "1; mode=block"
|
||||
defer
|
||||
}
|
||||
}
|
||||
|
||||
gothub.dev.projectsegfau.lt {
|
||||
reverse_proxy localhost:1025
|
||||
import def
|
||||
import torloc gothub.dev
|
||||
}
|
||||
|
||||
lbry.projectsegfau.lt lbry.g.projectsegfau.lt lbry.eu.projectsegfau.lt {
|
||||
reverse_proxy localhost:3550
|
||||
import def
|
||||
import torloc lbry
|
||||
import i2ploc pjsf7uucpqf2crcmfo3nvwdmjhirxxjfyuvibdfp5x3af2ghqnaa.b32.i2p
|
||||
}
|
||||
|
||||
proxy.lbry.projectsegfau.lt {
|
||||
reverse_proxy localhost:3001
|
||||
import def
|
||||
}
|
||||
|
||||
gothub.projectsegfau.lt gothub.g.projectsegfau.lt gothub.eu.projectsegfau.lt {
|
||||
reverse_proxy localhost:1024
|
||||
import torloc github
|
||||
import def
|
||||
}
|
||||
|
||||
overflow.projectsegfau.lt overflow.g.projectsegfau.lt overflow.eu.projectsegfau.lt {
|
||||
reverse_proxy localhost:8694
|
||||
import torloc overflow
|
||||
import def
|
||||
}
|
||||
libreddit.projectsegfau.lt libreddit.g.projectsegfau.lt libreddit.eu.projectsegfau.lt {
|
||||
reverse_proxy localhost:6464
|
||||
import torloc libreddit
|
||||
import def
|
||||
}
|
||||
|
||||
nitter.projectsegfau.lt nitter.g.projectsegfau.lt nitter.eu.projectsegfau.lt {
|
||||
reverse_proxy localhost:8387
|
||||
import def
|
||||
import torloc nitter
|
||||
}
|
||||
|
||||
bb.g.projectsegfau.lt bb.eu.projectsegfau.lt bb.projectsegfau.lt {
|
||||
reverse_proxy localhost:3069
|
||||
import def
|
||||
import torloc beatbump
|
||||
}
|
||||
|
||||
bw.eu.projectsegfau.lt bw.g.projectsegfau.lt bw.projectsegfau.lt {
|
||||
reverse_proxy localhost:10416
|
||||
import def
|
||||
import torloc breezewiki
|
||||
}
|
||||
|
||||
scribe.eu.projectsegfau.lt scribe.g.projectsegfau.lt scribe.projectsegfau.lt {
|
||||
reverse_proxy localhost:8006
|
||||
import def
|
||||
import torloc scribe
|
||||
}
|
||||
|
||||
teddit.eu.projectsegfau.lt teddit.projectsegfau.lt teddit.g.projectsegfau.lt {
|
||||
reverse_proxy localhost:9061
|
||||
import def
|
||||
import torloc teddit
|
||||
}
|
||||
rimgo.eu.projectsegfau.lt rimgo.projectsegfau.lt rimgo.g.projectsegfau.lt {
|
||||
reverse_proxy localhost:9016
|
||||
import def
|
||||
import torloc rimgo
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
|
||||
## I2P
|
||||
http://pjsfg3pdzzocax6a4oznoyf5k4etzknfatqu23i43wxejwdaffoa.b32.i2p:6001 {
|
||||
reverse_proxy https://projectsegfau.lt {
|
||||
header_up Host "projectsegfau.lt"
|
||||
}
|
||||
import tor www
|
||||
import i2ploc pjsfg3pdzzocax6a4oznoyf5k4etzknfatqu23i43wxejwdaffoa.b32.i2p
|
||||
}
|
||||
http://pjsflkkkcn33ahmzmpyq6idy2knkzh4atp7zaetqfsnenpyori6a.b32.i2p:6008 {
|
||||
reverse_proxy localhost:8006
|
||||
import tor scribe
|
||||
import i2ploc pjsflkkkcn33ahmzmpyq6idy2knkzh4atp7zaetqfsnenpyori6a.b32.i2p
|
||||
}
|
||||
http://pjsfs4ukb6prmfx3qx3a5ef2cpcupkvcrxdh72kqn2rxc2cw4nka.b32.i2p:6005 {
|
||||
reverse_proxy localhost:8387
|
||||
import tor nitter
|
||||
import i2ploc pjsfs4ukb6prmfx3qx3a5ef2cpcupkvcrxdh72kqn2rxc2cw4nka.b32.i2p
|
||||
}
|
||||
http://pjsf7uucpqf2crcmfo3nvwdmjhirxxjfyuvibdfp5x3af2ghqnaa.b32.i2p:6003 {
|
||||
import tor lbry
|
||||
import i2ploc pjsf7uucpqf2crcmfo3nvwdmjhirxxjfyuvibdfp5x3af2ghqnaa.b32.i2p
|
||||
reverse_proxy localhost:3550
|
||||
}
|
||||
http://pjsfkref7g66mji45kyccqnn5hmjtjp3cfodozabpyplj2rmv5sa.b32.i2p:6004 {
|
||||
import tor libreddit
|
||||
import i2ploc pjsfkref7g66mji45kyccqnn5hmjtjp3cfodozabpyplj2rmv5sa.b32.i2p
|
||||
reverse_proxy localhost:6464
|
||||
}
|
||||
http://pjsfk4xvekoc7wx4pteevp3q2wy7jmzlem7rvl74nx33zkdr4vyq.b32.i2p:6007 { # NW
|
||||
import tor breezewiki
|
||||
import i2ploc pjsfk4xvekoc7wx4pteevp3q2wy7jmzlem7rvl74nx33zkdr4vyq.b32.i2p
|
||||
reverse_proxy localhost:10416
|
||||
}
|
||||
http://pjsflmvtqax7ii44qy4ladap65c3kqspbs7h7krqy7x43uovklla.b32.i2p:6006 {
|
||||
import tor beatbump
|
||||
import i2ploc pjsflmvtqax7ii44qy4ladap65c3kqspbs7h7krqy7x43uovklla.b32.i2p
|
||||
reverse_proxy localhost:3069
|
||||
}
|
||||
http://pjsfi2szfkb4guqzmfmlyq4no46fayertjrwt4h2uughccrh2lvq.b32.i2p:6016 {
|
||||
import tor invbp
|
||||
import i2ploc pjsfi2szfkb4guqzmfmlyq4no46fayertjrwt4h2uughccrh2lvq.b32.i2p
|
||||
reverse_proxy localhost:3000
|
||||
}
|
||||
http://pjsf5ahv7ce67i5ic46ghum3scwatrsyac5i6aa5bynvnnlmpzfa.b32.i2p:6017 {
|
||||
import tor rimgo
|
||||
import i2ploc pjsf5ahv7ce67i5ic46ghum3scwatrsyac5i6aa5bynvnnlmpzfa.b32.i2p
|
||||
reverse_proxy localhost:9016
|
||||
}
|
||||
http://pjsfa3dd7rxocfqanxenpop2uqfgpw4nevrmy424u5qwyasqdu6a.b32.i2p:6018 {
|
||||
import tor teddit
|
||||
import i2ploc pjsfa3dd7rxocfqanxenpop2uqfgpw4nevrmy424u5qwyasqdu6a.b32.i2p
|
||||
reverse_proxy localhost:9061
|
||||
}
|
||||
http://pjsfhqamc7k6htnumrvn4cwqqdoggeepj7u5viyimgnxg3gar72q.b32.i2p:6002 {
|
||||
import tor inv
|
||||
import i2ploc pjsfi2szfkb4guqzmfmlyq4no46fayertjrwt4h2uughccrh2lvq.b32.i2p
|
||||
reverse_proxy https://invidious.projectsegfau.lt {
|
||||
header_up Host "invidious.projectsegfau.lt"
|
||||
}
|
||||
}
|
||||
http://pjsfwklrellqoj275kzeu2tz4c3j5zktnqod56s7l5dc25ro3wgq.b32.i2p:6012 {
|
||||
import tor search
|
||||
import i2ploc pjsfwklrellqoj275kzeu2tz4c3j5zktnqod56s7l5dc25ro3wgq.b32.i2p
|
||||
reverse_proxy https://search.projectsegfau.lt {
|
||||
header_up Host "search.projectsegfau.lt"
|
||||
}
|
||||
}
|
||||
http://pjsfdrtv2465bisenvzhfvdleznx4arlih2hlnrhpzugailnm7iq.b32.i2p:6013 {
|
||||
import tor git
|
||||
import i2ploc pjsfdrtv2465bisenvzhfvdleznx4arlih2hlnrhpzugailnm7iq.b32.i2p
|
||||
reverse_proxy https://git.projectsegfau.lt {
|
||||
header_up Host "git.projectsegfau.lt"
|
||||
}
|
||||
}
|
||||
http://pjsfivs2sxudfy65kojxqophc6vqjqdr6woczy6hzaxvxvbj3bkq.b32.i2p:6015 {
|
||||
import i2ploc pjsfivs2sxudfy65kojxqophc6vqjqdr6woczy6hzaxvxvbj3bkq.b32.i2p
|
||||
import tor todo
|
||||
reverse_proxy https://todo.projectsegfau.lt {
|
||||
header_up Host "todo.projectsegfau.lt"
|
||||
}
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Reverse proxy all user sites
|
||||
*.p.projectsegfau.lt {
|
||||
reverse_proxy 10.7.0.2:80
|
||||
import acmedns
|
||||
}
|
||||
|
||||
# Redirect base subdomain to the pubnix homepage
|
||||
p.projectsegfau.lt {
|
||||
redir https://projectsegfau.lt/pubnix
|
||||
}
|
||||
|
||||
# Cockpit
|
||||
cockpit.p.projectsegfau.lt {
|
||||
reverse_proxy 10.7.0.2:9090 {
|
||||
transport http {
|
||||
tls_insecure_skip_verify
|
||||
}
|
||||
}
|
||||
import def
|
||||
import torloc cockpit.p
|
||||
}
|
||||
|
||||
# PublAPI
|
||||
publapi.p.projectsegfau.lt {
|
||||
reverse_proxy 10.7.0.2:3000
|
||||
import def
|
||||
}
|
||||
grafana.p.projectsegfau.lt {
|
||||
reverse_proxy 10.7.0.2:6943 {
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
import def
|
||||
}
|
||||
geminiproxy.projectsegfau.lt geminiproxy.p.projectsegfau.lt {
|
||||
reverse_proxy 10.7.0.2:8000
|
||||
import def
|
||||
import torloc geminiproxy.p
|
||||
}
|
123
caddy/tor.caddy
123
caddy/tor.caddy
@ -1,123 +0,0 @@
|
||||
http://pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
reverse_proxy https://projectsegfau.lt {
|
||||
header_up Host "projectsegfau.lt"
|
||||
}
|
||||
import tor www
|
||||
import i2ploc pjsfg3pdzzocax6a4oznoyf5k4etzknfatqu23i43wxejwdaffoa.b32.i2p
|
||||
}
|
||||
http://www.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
reverse_proxy https://projectsegfau.lt {
|
||||
header_up Host "projectsegfau.lt"
|
||||
}
|
||||
import tor www
|
||||
import i2ploc pjsfg3pdzzocax6a4oznoyf5k4etzknfatqu23i43wxejwdaffoa.b32.i2p
|
||||
}
|
||||
# Privacy Frontends
|
||||
http://scribe.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
reverse_proxy localhost:8006
|
||||
import tor scribe
|
||||
import i2ploc pjsflkkkcn33ahmzmpyq6idy2knkzh4atp7zaetqfsnenpyori6a.b32.i2p
|
||||
}
|
||||
http://nitter.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
reverse_proxy localhost:8387
|
||||
import tor nitter
|
||||
import i2ploc pjsfs4ukb6prmfx3qx3a5ef2cpcupkvcrxdh72kqn2rxc2cw4nka.b32.i2p
|
||||
}
|
||||
http://lbry.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor lbry
|
||||
import i2ploc pjsf7uucpqf2crcmfo3nvwdmjhirxxjfyuvibdfp5x3af2ghqnaa.b32.i2p
|
||||
reverse_proxy localhost:3550
|
||||
}
|
||||
http://libreddit.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor libreddit
|
||||
import i2ploc pjsfkref7g66mji45kyccqnn5hmjtjp3cfodozabpyplj2rmv5sa.b32.i2p
|
||||
reverse_proxy localhost:6464
|
||||
}
|
||||
http://breezewiki.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor breezewiki
|
||||
import i2ploc pjsfk4xvekoc7wx4pteevp3q2wy7jmzlem7rvl74nx33zkdr4vyq.b32.i2p
|
||||
reverse_proxy localhost:10416
|
||||
}
|
||||
http://beatbump.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor beatbump
|
||||
import i2ploc pjsflmvtqax7ii44qy4ladap65c3kqspbs7h7krqy7x43uovklla.b32.i2p
|
||||
reverse_proxy localhost:3069
|
||||
}
|
||||
http://invbp.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor invbp
|
||||
import i2ploc pjsfi2szfkb4guqzmfmlyq4no46fayertjrwt4h2uughccrh2lvq.b32.i2p
|
||||
reverse_proxy localhost:3000
|
||||
}
|
||||
http://rimgo.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor rimgo
|
||||
reverse_proxy localhost:9016
|
||||
}
|
||||
http://teddit.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor teddit
|
||||
reverse_proxy localhost:9061
|
||||
}
|
||||
http://overflow.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor overflow
|
||||
reverse_proxy localhost:8694
|
||||
}
|
||||
http://gothub.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor gothub
|
||||
reverse_proxy localhost:1024
|
||||
}
|
||||
http://gothub.dev.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor gothub.dev
|
||||
reverse_proxy localhost:1025
|
||||
}
|
||||
http://inv.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor inv
|
||||
import i2ploc pjsfi2szfkb4guqzmfmlyq4no46fayertjrwt4h2uughccrh2lvq.b32.i2p
|
||||
reverse_proxy https://invidious.projectsegfau.lt {
|
||||
header_up Host "invidious.projectsegfau.lt"
|
||||
}
|
||||
}
|
||||
http://search.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor search
|
||||
import i2ploc pjsfwklrellqoj275kzeu2tz4c3j5zktnqod56s7l5dc25ro3wgq.b32.i2p
|
||||
reverse_proxy https://search.projectsegfau.lt {
|
||||
header_up Host "search.projectsegfau.lt"
|
||||
}
|
||||
}
|
||||
http://git.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor git
|
||||
import i2ploc pjsfdrtv2465bisenvzhfvdleznx4arlih2hlnrhpzugailnm7iq.b32.i2p
|
||||
reverse_proxy https://git.projectsegfau.lt {
|
||||
header_up Host "git.projectsegfau.lt"
|
||||
}
|
||||
}
|
||||
http://todo.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor todo
|
||||
import i2ploc pjsfivs2sxudfy65kojxqophc6vqjqdr6woczy6hzaxvxvbj3bkq.b32.i2p
|
||||
reverse_proxy https://todo.projectsegfau.lt {
|
||||
header_up Host "todo.projectsegfau.lt"
|
||||
}
|
||||
}
|
||||
http://wiki.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor wiki
|
||||
reverse_proxy https://wiki.projectsegfau.lt {
|
||||
header_up Host "wiki.projectsegfau.lt"
|
||||
}
|
||||
}
|
||||
http://pass.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor pass
|
||||
reverse_proxy https://pass.projectsegfau.lt {
|
||||
header_up Host "pass.projectsegfau.lt"
|
||||
}
|
||||
}
|
||||
# Pubnix
|
||||
http://geminiproxy.p.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor geminiproxy.p
|
||||
reverse_proxy https://geminiproxy.p.projectsegfau.lt {
|
||||
header_up Host "geminiproxy.p.projectsegfau.lt"
|
||||
}
|
||||
}
|
||||
http://cockpit.p.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion {
|
||||
import tor cockpit.p
|
||||
reverse_proxy https://cockpit.p.projectsegfau.lt {
|
||||
header_up Host "cockpit.p.projectsegfau.lt"
|
||||
}
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
# Docker
|
||||
Private keys such as HMAC are not pushed for obvious reasons and are in separate envfiles
|
@ -1,17 +0,0 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
anonymousoverflow:
|
||||
build:
|
||||
context: .
|
||||
network: 'host'
|
||||
environment:
|
||||
- APP_URL=https://overflow.projectsegfau.lt
|
||||
# JWT_SIGNING_SECRET is in private.env
|
||||
env_file:
|
||||
- /opt/docker/anonymousoverflow/private.env
|
||||
ports:
|
||||
- '8694:8080'
|
||||
restart: 'always'
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=false"
|
@ -1,22 +0,0 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: "snuffydev/beatbump:master"
|
||||
ports:
|
||||
- "3069:3069"
|
||||
environment:
|
||||
PORT: 3069
|
||||
VITE_DOMAIN: "bb.projectsegfau.lt"
|
||||
VITE_SITE_URL: "https://bb.projectsegfau.lt"
|
||||
VITE_DONATION_URL: "https://projectsegfau.lt/donate"
|
||||
restart: unless-stopped
|
||||
proxy:
|
||||
build:
|
||||
context: ./packages/proxy-server/deno
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3070:3001"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=false"
|
@ -1,4 +0,0 @@
|
||||
canonical_origin = https://bw.projectsegfau.lt
|
||||
debug = false
|
||||
port = 10416
|
||||
feature_search_suggestions = true
|
@ -1,9 +0,0 @@
|
||||
services:
|
||||
breezewiki:
|
||||
container_name: breezewiki
|
||||
image: quay.io/pussthecatorg/breezewiki:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "10416:10416" # Replace with "10416:10416" if you don't use a reverse proxy
|
||||
volumes:
|
||||
- "./config.ini:/app/config.ini"
|
@ -1,25 +0,0 @@
|
||||
version: "3"
|
||||
services:
|
||||
gothub:
|
||||
image: codeberg.org/gothub/gothub:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "1024:3000"
|
||||
environment:
|
||||
- DOCKER=true
|
||||
- GOTHUB_SETUP_COMPLETE=true
|
||||
- GOTHUB_PROXYING_ENABLED=true
|
||||
- GOTHUB_IP_LOGGED=false
|
||||
- GOTHUB_REQUEST_URL_LOGGED=false
|
||||
- GOTHUB_USER_AGENT_LOGGED=false
|
||||
- GOTHUB_DIAGNOSTIC_INFO_LOGGED=false
|
||||
- GOTHUB_INSTANCE_PRIVACY_POLICY=https://projectsegfau.lt/legal/privacy-policy
|
||||
- GOTHUB_INSTANCE_COUNTRY=Luxembourg
|
||||
- GOTHUB_INSTANCE_PROVIDER=BuyVM
|
||||
- GOTHUB_INSTANCE_CLOUDFLARE=false
|
||||
healthcheck:
|
||||
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/version || exit 1
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
|
@ -1,25 +0,0 @@
|
||||
version: "3"
|
||||
services:
|
||||
gothub:
|
||||
image: codeberg.org/gothub/gothub:dev
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "1025:3000"
|
||||
environment:
|
||||
- DOCKER=true
|
||||
- GOTHUB_SETUP_COMPLETE=true
|
||||
- GOTHUB_PROXYING_ENABLED=true
|
||||
- GOTHUB_IP_LOGGED=false
|
||||
- GOTHUB_REQUEST_URL_LOGGED=false
|
||||
- GOTHUB_USER_AGENT_LOGGED=false
|
||||
- GOTHUB_DIAGNOSTIC_INFO_LOGGED=false
|
||||
- GOTHUB_INSTANCE_PRIVACY_POLICY=https://projectsegfau.lt/legal/privacy-policy
|
||||
- GOTHUB_INSTANCE_COUNTRY=Luxembourg
|
||||
- GOTHUB_INSTANCE_PROVIDER=BuyVM
|
||||
- GOTHUB_INSTANCE_CLOUDFLARE=false
|
||||
healthcheck:
|
||||
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/version || exit 1
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
|
@ -1,76 +0,0 @@
|
||||
version: "2.4"
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:10
|
||||
restart: always
|
||||
networks:
|
||||
- invidious
|
||||
volumes:
|
||||
- postgresdata:/var/lib/postgresql/data
|
||||
- ./config/sql:/config/sql
|
||||
- ./docker/init-invidious-db.sh:/docker-entrypoint-initdb.d/init-invidious-db.sh
|
||||
environment:
|
||||
POSTGRES_DB: invidious
|
||||
POSTGRES_USER: kemal
|
||||
POSTGRES_PASSWORD: kemal
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||
invidious:
|
||||
image: quay.io/invidious/invidious:latest
|
||||
restart: always
|
||||
networks:
|
||||
- invidious
|
||||
mem_limit: 1024M
|
||||
cpus: 0.5
|
||||
ports:
|
||||
- "3000:3000"
|
||||
env_file: /opt/docker/invidious/private.env
|
||||
environment:
|
||||
HMAC_KEY_PRIVATE: ${HMAC_KEY_PRIVATE}
|
||||
INVIDIOUS_CONFIG: |
|
||||
channel_threads: 1
|
||||
check_tables: true
|
||||
feed_threads: 1
|
||||
db:
|
||||
dbname: invidious
|
||||
user: kemal
|
||||
password: kemal
|
||||
host: postgres
|
||||
port: 5432
|
||||
full_refresh: false
|
||||
https_only: true
|
||||
domain: inv.bp.projectsegfau.lt
|
||||
external_port: 443
|
||||
statistics_enabled: true
|
||||
admins: ["midou"]
|
||||
dark_mode: true
|
||||
disable_proxy: false
|
||||
banner: <a href="https://projectsegfau.lt/donate">Donate to Project Segfault</a> | <a href="https://invidious.projectsegfau.lt">FR </a> <a href="https://inv.bp.projectsegfau.lt">[LU] </a><a href="https://inv.us.projectsegfau.lt">US </a><a href="https://inv.in.projectsegfau.lt">IN</a>
|
||||
enable_user_notifications: false
|
||||
default_user_preferences:
|
||||
local: true
|
||||
extend_desc: true
|
||||
quality: dash
|
||||
quality_dash: 1080p
|
||||
# does not work atm
|
||||
hmac_key: ${HMAC_KEY_PRIVATE}
|
||||
healthcheck:
|
||||
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
depends_on:
|
||||
- postgres
|
||||
autoheal:
|
||||
restart: always
|
||||
image: willfarrell/autoheal
|
||||
environment:
|
||||
- AUTOHEAL_CONTAINER_LABEL=all
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
volumes:
|
||||
postgresdata:
|
||||
|
||||
networks:
|
||||
invidious:
|
@ -1,16 +0,0 @@
|
||||
services:
|
||||
libreddit:
|
||||
image: libreddit/libreddit:latest
|
||||
ports:
|
||||
- 127.0.0.1:6464:8080
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"]
|
||||
interval: 5m
|
||||
timeout: 3s
|
||||
environment:
|
||||
- FRONT_PAGE=popular
|
||||
- COMMENT_SORT=new
|
||||
- BLUR_NSFW=on
|
||||
- USE_HLS=on
|
||||
- AUTOPLAY_VIDEOS=off
|
@ -1,25 +0,0 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
nitter:
|
||||
image: zedeus/nitter:latest
|
||||
container_name: nitter
|
||||
ports:
|
||||
- "8387:8080" # Replace with "8080:8080" if you don't use a reverse proxy
|
||||
volumes:
|
||||
- /opt/docker/nitter/nitter.conf:/src/nitter.conf:ro
|
||||
depends_on:
|
||||
- nitter-redis
|
||||
restart: unless-stopped
|
||||
|
||||
nitter-redis:
|
||||
image: redis:6-alpine
|
||||
container_name: nitter-redis
|
||||
command: redis-server --save 60 1 --loglevel warning
|
||||
volumes:
|
||||
- nitter-redis:/data
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
nitter-redis:
|
@ -1,45 +0,0 @@
|
||||
[Server]
|
||||
address = "0.0.0.0"
|
||||
port = 8080
|
||||
https = true # disable to enable cookies when not using https
|
||||
httpMaxConnections = 100
|
||||
staticDir = "./public"
|
||||
title = "nitter"
|
||||
hostname = "nitter.projectsegfau.lt"
|
||||
|
||||
[Cache]
|
||||
listMinutes = 240 # how long to cache list info (not the tweets, so keep it high)
|
||||
rssMinutes = 10 # how long to cache rss queries
|
||||
redisHost = "nitter-redis" # Change to "nitter-redis" if using docker-compose
|
||||
redisPort = 6379
|
||||
redisPassword = ""
|
||||
redisConnections = 20 # connection pool size
|
||||
redisMaxConnections = 30
|
||||
# max, new connections are opened when none are available, but if the pool size
|
||||
# goes above this, they're closed when released. don't worry about this unless
|
||||
# you receive tons of requests per second
|
||||
|
||||
[Config]
|
||||
hmacKey = "xxx" # random key for cryptographic signing of video urls
|
||||
base64Media = false # use base64 encoding for proxied media urls
|
||||
enableRSS = true # set this to false to disable RSS feeds
|
||||
enableDebug = false # enable request logs and debug endpoints
|
||||
proxy = "" # http/https url, SOCKS proxies are not supported
|
||||
proxyAuth = ""
|
||||
tokenCount = 10
|
||||
# minimum amount of usable tokens. tokens are used to authorize API requests,
|
||||
# but they expire after ~1 hour, and have a limit of 187 requests.
|
||||
# the limit gets reset every 15 minutes, and the pool is filled up so there's
|
||||
# always at least $tokenCount usable tokens. again, only increase this if
|
||||
# you receive major bursts all the time
|
||||
|
||||
# Change default preferences here, see src/prefs_impl.nim for a complete list
|
||||
[Preferences]
|
||||
theme = "Nitter"
|
||||
replaceTwitter = "nitter.projectsegfau.lt"
|
||||
replaceYouTube = "invidious.projectsegfau.lt"
|
||||
replaceReddit = "libreddit.projectsegfau.lt"
|
||||
replaceInstagram = ""
|
||||
proxyVideos = true
|
||||
hlsPlayback = true
|
||||
infiniteScroll = false
|
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
mv /opt/docker/${1}/*compose.y*l /opt/docker/${1}/compose.pre-public-conf.yml
|
||||
ln -s /configs/docker/${1}-compose.yml /opt/docker/${1}/compose.yml
|
||||
cd /opt/docker/${1} && docker compose pull && docker compose down --remove-orphans && docker compose up -d --build && cd -
|
@ -1,21 +0,0 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
rimgo:
|
||||
image: codeberg.org/video-prize-ranch/rimgo # Official image
|
||||
#image: quay.io/pussthecatorg/rimgo # Unofficial image
|
||||
#build: . # Uncomment to build from source
|
||||
ports:
|
||||
- 9016:3000
|
||||
environment:
|
||||
- ADDRESS=0.0.0.0
|
||||
- PORT=3000
|
||||
- FIBER_PREFORK=false
|
||||
- IMGUR_CLIENT_ID=546c25a59c58ad7
|
||||
- PRIVACY_POLICY=https://projectsegfau.lt/legal/privacy-policy
|
||||
- PRIVACY_MESSAGE=
|
||||
- PRIVACY_COUNTRY=Luxembourg
|
||||
- PRIVACY_PROVIDER=BuyVM
|
||||
- PRIVACY_CLOUDFLARE=false
|
||||
- PRIVACY_NOT_COLLECTED=true
|
||||
restart: unless-stopped
|
@ -1,17 +0,0 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
scribe:
|
||||
image: registry.gitlab.com/lomanic/scribe-binaries:latest
|
||||
restart: always
|
||||
container_name: "scribe"
|
||||
ports:
|
||||
- 8006:8006
|
||||
environment:
|
||||
- SCRIBE_PORT=8006
|
||||
- SCRIBE_HOST=0.0.0.0
|
||||
- APP_DOMAIN=scribe.projectsegfau.lt
|
||||
- LUCKY_ENV=production
|
||||
- PORT=8006
|
||||
env_file:
|
||||
- /opt/docker/scribe/scribe-private.env
|
@ -1,42 +0,0 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
teddit:
|
||||
restart: always
|
||||
container_name: teddit
|
||||
image: teddit/teddit:latest
|
||||
environment:
|
||||
- DOMAIN=teddit.projectsegfau.lt
|
||||
- USE_HELMET=true
|
||||
- USE_HELMET_HSTS=true
|
||||
- TRUST_PROXY=true
|
||||
- REDIS_HOST=teddit-redis
|
||||
ports:
|
||||
- "9061:8080"
|
||||
networks:
|
||||
- teddit_net
|
||||
healthcheck:
|
||||
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost:8080/about"]
|
||||
interval: 1m
|
||||
timeout: 3s
|
||||
depends_on:
|
||||
- teddit-redis
|
||||
|
||||
teddit-redis:
|
||||
restart: always
|
||||
container_name: teddit-redis
|
||||
image: redis:6.2.5-alpine
|
||||
command: redis-server
|
||||
environment:
|
||||
- REDIS_REPLICATION_MODE=master
|
||||
networks:
|
||||
- teddit_net
|
||||
volumes:
|
||||
- teddit-redis:/data
|
||||
volumes:
|
||||
teddit-redis:
|
||||
|
||||
networks:
|
||||
teddit_net:
|
||||
|
@ -1,17 +0,0 @@
|
||||
version: "2"
|
||||
services:
|
||||
watchtower:
|
||||
image: containrrr/watchtower
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
environment:
|
||||
- TZ=Europe/Paris
|
||||
- WATCHTOWER_CLEANUP=false
|
||||
- DOCKER_API_VERSION=1.42
|
||||
- WATCHTOWER_INCLUDE_STOPPED=false
|
||||
- WATCHTOWER_POLL_INTERVAL=3600
|
||||
- WATCHTOWER_MONITOR_ONLY=false
|
||||
# WATCHTOWER_NOTIFICATION_URL is in private.env
|
||||
env_file:
|
||||
- /opt/docker/watchtower/private.env
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user