init
This commit is contained in:
9
privfrontends/compose/breezewiki/compose.yml.j2
Normal file
9
privfrontends/compose/breezewiki/compose.yml.j2
Normal file
@ -0,0 +1,9 @@
|
||||
services:
|
||||
breezewiki:
|
||||
container_name: breezewiki
|
||||
image: quay.io/pussthecatorg/breezewiki:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "10416:10416"
|
||||
volumes:
|
||||
- "./config.ini:/app/config.ini"
|
4
privfrontends/compose/breezewiki/extras.conf.j2
Normal file
4
privfrontends/compose/breezewiki/extras.conf.j2
Normal file
@ -0,0 +1,4 @@
|
||||
canonical_origin = https://bw.projectsegfau.lt
|
||||
debug = false
|
||||
port = 10416
|
||||
feature_search_suggestions = true
|
32
privfrontends/compose/gothub-dev/compose.yml.j2
Normal file
32
privfrontends/compose/gothub-dev/compose.yml.j2
Normal file
@ -0,0 +1,32 @@
|
||||
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
|
||||
{% if inventory_hostname == 'eu' %}
|
||||
- GOTHUB_INSTANCE_COUNTRY=Luxembourg
|
||||
- GOTHUB_INSTANCE_PROVIDER=BuyVM
|
||||
{% else if inventory_hostname == 'us' %}
|
||||
- GOTHUB_INSTANCE_COUNTRY=United States
|
||||
- GOTHUB_INSTANCE_PROVIDER=Digital Ocean
|
||||
{% else if inventory_hostname == 'in' %}
|
||||
- GOTHUB_INSTANCE_COUNTRY=India
|
||||
- GOTHUB_INSTANCE_PROVIDER=Bharti Airtel
|
||||
{% endif %}
|
||||
- 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
|
14
privfrontends/compose/gothub/compose.yml.j2
Normal file
14
privfrontends/compose/gothub/compose.yml.j2
Normal file
@ -0,0 +1,14 @@
|
||||
version: "3"
|
||||
services:
|
||||
gothub:
|
||||
image: codeberg.org/gothub/gothub:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "1024:3000"
|
||||
environment:
|
||||
- DOCKER=true
|
||||
healthcheck:
|
||||
test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/version || exit 1
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 2
|
16
privfrontends/compose/librarian/compose.yml.j2
Normal file
16
privfrontends/compose/librarian/compose.yml.j2
Normal file
@ -0,0 +1,16 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
librarian:
|
||||
image: codeberg.org/librarian/librarian:latest
|
||||
ports:
|
||||
- 3550:3550
|
||||
volumes:
|
||||
- ./extras.conf:/app/config.yml
|
||||
restart: unless-stopped
|
||||
|
||||
stream-proxy:
|
||||
image: codeberg.org/librarian/stream-proxy-ng:latest
|
||||
ports:
|
||||
- 3001:3001
|
||||
restart: unless-stopped
|
78
privfrontends/compose/librarian/extras.conf.j2
Normal file
78
privfrontends/compose/librarian/extras.conf.j2
Normal file
@ -0,0 +1,78 @@
|
||||
DOMAIN: 'https://lbry.projectsegfau.lt'
|
||||
PORT: '3550'
|
||||
FIBER_PREFORK: false
|
||||
# Optional: Set address to bind to, example: 127.0.0.1
|
||||
ADDRESS: ''
|
||||
# Running a custom API server is not recommended and is not suitable for a public instance
|
||||
API_URL: 'https://api.na-backend.odysee.com/api/v1/proxy'
|
||||
# Block access to claims in case of DMCA
|
||||
BLOCKED_CLAIMS:
|
||||
- claimId
|
||||
# AUTH_TOKEN and HMAC_KEY is automatically generated
|
||||
AUTH_TOKEN: '{{librarian_auth_token}}'
|
||||
HMAC_KEY: '{{librarian_hmac_key}}'
|
||||
# Create IMAGE_CACHE_DIR before enabling image caching
|
||||
IMAGE_CACHE: false
|
||||
IMAGE_CACHE_DIR: '/var/cache/librarian'
|
||||
IMAGE_CACHE_CLEANUP_INTERVAL: 24h
|
||||
# The next 2 options will proxy video data through the instance.
|
||||
# This will cause increased bandwidth usage.
|
||||
# ENABLE_STREAM_PROXY proxies videos and ENABLE_LIVESTREAM enables livestreams.
|
||||
ENABLE_STREAM_PROXY: true
|
||||
ENABLE_LIVESTREAM: true
|
||||
# Set custom SponsorBlock URL (with https://github.com/mchangrh/sb-mirror or other)
|
||||
SPONSORBLOCK_URL: 'https://sponsor.ajay.app'
|
||||
# Advanced: Custom video streaming endpoint
|
||||
VIDEO_STREAMING_URL: 'https://proxy.lbry.projectsegfau.lt/stream'
|
||||
# Rewrite links to other frontends. example: https://yt.domain.tld
|
||||
FRONTEND:
|
||||
youtube: 'https://invidious.projectsegfau.lt'
|
||||
twitter: 'https://nitter.projectsegfau.lt'
|
||||
imgur: 'https://rimgo.projectsegfau.lt'
|
||||
instagram: ''
|
||||
tiktok: ''
|
||||
reddit: 'https://libreddit.projectsegfau.lt'
|
||||
# Default instance settings
|
||||
DEFAULT_SETTINGS:
|
||||
theme: 'dark' # system, light, dark
|
||||
relatedVideos: true
|
||||
nsfw: false
|
||||
autoplay: false
|
||||
speed: '1' # 0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2, 4
|
||||
quality: '0' # 0 - Auto, 144 - 144p, 360 - 360p, 720 - 720p, 1080 - 1080p
|
||||
sponsorblock:
|
||||
sponsor: true
|
||||
selfpromo: true
|
||||
interaction: true
|
||||
intro: false
|
||||
outro: false
|
||||
preview: false
|
||||
filler_tangent: false
|
||||
# Instance privacy: This is required to get your instance listed. For more info,
|
||||
# See: https://codeberg.org/librarian/librarian/wiki/Instance-privacy
|
||||
INSTANCE_PRIVACY:
|
||||
# This is the default if you are using NGINX and have not disabled data collection.
|
||||
# Read https://codeberg.org/librarian/librarian/wiki/Instance-privacy
|
||||
DATA_NOT_COLLECTED: true
|
||||
DATA_COLLECTED_IP: true
|
||||
DATA_COLLECTED_URL: true
|
||||
DATA_COLLECTED_DEVICE: true
|
||||
DATA_COLLECTED_DIAGNOSTIC_ONLY: false
|
||||
|
||||
{% if inventory_hostname == 'eu' %}
|
||||
INSTANCE_COUNTRY: "Luxembourg"
|
||||
INSTANCE_PROVIDER: "BuyVM"
|
||||
{% else if inventory_hostname == 'us' %}
|
||||
INSTANCE_COUNTRY: "United States"
|
||||
INSTANCE_PROVIDER: "Digital Ocean"
|
||||
{% else if inventory_hostname == 'in' %}
|
||||
INSTANCE_COUNTRY: "India"
|
||||
INSTANCE_PROVIDER: "Bharti Airtel"
|
||||
{% endif %}
|
||||
|
||||
# Cloudflare use is discouraged. You can set this to false if it is not proxied (gray cloud icon)
|
||||
INSTANCE_CLOUDFLARE: false
|
||||
# Optional: Explain your usage of data (if collected) and how it is stored.
|
||||
MESSAGE: ""
|
||||
# Link to your privacy policy, leave blank if you don't have one.
|
||||
PRIVACY_POLICY: "https://projectsegfau.lt/legal/privacy-policy"
|
16
privfrontends/compose/libreddit/compose.yml.j2
Normal file
16
privfrontends/compose/libreddit/compose.yml.j2
Normal file
@ -0,0 +1,16 @@
|
||||
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
|
24
privfrontends/compose/nitter/compose.yml.j2
Normal file
24
privfrontends/compose/nitter/compose.yml.j2
Normal file
@ -0,0 +1,24 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
nitter:
|
||||
image: zedeus/nitter:latest
|
||||
ports:
|
||||
- "8387:8080"
|
||||
volumes:
|
||||
- ./extras.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:
|
45
privfrontends/compose/nitter/extras.conf.j2
Normal file
45
privfrontends/compose/nitter/extras.conf.j2
Normal file
@ -0,0 +1,45 @@
|
||||
[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 = "{{nitter_hmac_key}}" # 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
|
25
privfrontends/compose/rimgo/compose.yml.j2
Normal file
25
privfrontends/compose/rimgo/compose.yml.j2
Normal file
@ -0,0 +1,25 @@
|
||||
services:
|
||||
rimgo:
|
||||
image: codeberg.org/video-prize-ranch/rimgo # Official image
|
||||
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=
|
||||
{% if inventory_hostname == 'eu' %}
|
||||
- PRIVACY_COUNTRY=Luxembourg
|
||||
- PRIVACY_PROVIDER=BuyVM
|
||||
{% else if inventory_hostname == 'us' %}
|
||||
- PRIVACY_COUNTRY=USA
|
||||
- PRIVACY_PROVIDER=Digital Ocean
|
||||
{% else if inventory_hostname == 'in' %}
|
||||
- PRIVACY_COUNTRY=India
|
||||
- PRIVACY_PROVIDER=Bharti Airtel
|
||||
{% endif %}
|
||||
- PRIVACY_CLOUDFLARE=false
|
||||
- PRIVACY_NOT_COLLECTED=true
|
||||
restart: unless-stopped
|
16
privfrontends/compose/scribe/compose.yml.j2
Normal file
16
privfrontends/compose/scribe/compose.yml.j2
Normal file
@ -0,0 +1,16 @@
|
||||
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
|
||||
- SECRET_KEY_BASE={{scribe_secret_key_base}}
|
41
privfrontends/compose/teddit/compose.yml.j2
Normal file
41
privfrontends/compose/teddit/compose.yml.j2
Normal file
@ -0,0 +1,41 @@
|
||||
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:
|
Reference in New Issue
Block a user