Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
18 changes: 18 additions & 0 deletions blueprints/privatepaste/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
services:
privatepaste:
image: ghcr.io/dynamicsninja/privatepaste:0.3.1
restart: unless-stopped
stop_grace_period: 15s
environment:
PP_DB_KEY: ${PP_DB_KEY}
PP_PASSWORD: ${PP_PASSWORD}
PP_MAX_IMAGE_MB: ${PP_MAX_IMAGE_MB}
PP_MAX_TEXT_KB: ${PP_MAX_TEXT_KB}
PP_TRUST_CLOUDFLARE: ${PP_TRUST_CLOUDFLARE}
volumes:
- privatepaste-data:/data
expose:
- 8080

volumes:
privatepaste-data:
17 changes: 17 additions & 0 deletions blueprints/privatepaste/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"id": "privatepaste",
"name": "PrivatePaste",
"version": "0.3.1",
"description": "Self-hosted clipboard sync: copy on one device, paste on your others, with an encrypted, searchable history and apps for Windows, macOS, Linux and Android.",
"logo": "privatepaste.svg",
"links": {
"github": "https://github.com/DynamicsNinja/privatepaste",
"website": "https://github.com/DynamicsNinja/privatepaste",
"docs": "https://github.com/DynamicsNinja/privatepaste/blob/main/docs/self-hosting.md"
},
"tags": [
"productivity",
"clipboard",
"sync"
]
}
6 changes: 6 additions & 0 deletions blueprints/privatepaste/privatepaste.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions blueprints/privatepaste/template.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[variables]
main_domain = "${domain}"
# 32 random bytes, base64: the encryption key for the database and images. Back it up: without it the data is lost.
db_key = "${base64:32}"
login_password = "${password:24}"

[config]
mounts = []

[[config.domains]]
serviceName = "privatepaste"
port = 8080
host = "${main_domain}"

[config.env]
PP_DB_KEY = "${db_key}"
PP_PASSWORD = "${login_password}"
PP_MAX_IMAGE_MB = "20"
PP_MAX_TEXT_KB = "1024"
# Set to "true" only if the server is reachable exclusively through a Cloudflare tunnel.
PP_TRUST_CLOUDFLARE = "false"
Loading