Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Private Bin and Redlib Service #4209

Open
wants to merge 14 commits into
base: services
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions templates/compose/privatebin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# documentation: https://github.com/PrivateBin/PrivateBin/blob/master/doc/README.md
# PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data.
# tags: text, sharing
# port: 8080

services:
privatebin:
image: privatebin/nginx-fpm-alpine
restart: always
read_only: true
environment:
- SERVICE_FQDN_PRIVATEBIN_8080
volumes:
- 'privatebin-data:/srv/data'
30 changes: 30 additions & 0 deletions templates/compose/redlib.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# documentation: https://github.com/redlib-org/redlib
# An alternative private front-end to Reddit, with its origins in Libreddit.
# tags: frontend, feed
# logo: svgs/freshrss.png
# port: 8080

services:
redlib:
image: 'quay.io/redlib/redlib:latest'
restart: always
container_name: redlib
environment:
- SERVICE_FQDN_REDLIB_8080
user: nobody
read_only: true
security_opt:
- 'no-new-privileges:true'
cap_drop:
- ALL
env_file: .env
peaklabs-dev marked this conversation as resolved.
Show resolved Hide resolved
healthcheck:
test:
- CMD
- wget
- '--spider'
- '-q'
- '--tries=1'
- 'http://localhost:8080/settings'
interval: 5m
timeout: 3s