Add Picoshare

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2024-08-27 23:53:12 +02:00
parent d7a36310ec
commit 5b48945835
7 changed files with 57 additions and 4 deletions
@@ -87,6 +87,10 @@ psitransfer.bensuperpc.org {
redir https://transfer.bensuperpc.org{uri} permanent
}
picoshare.bensuperpc.org {
reverse_proxy picoshare:4001
}
syncthing.bensuperpc.org {
reverse_proxy syncthing:8384 {
header_up Host {upstream_hostport}
@@ -25,11 +25,11 @@
description: youtube.com
- Friends:
- Rickkrict:
- abbr: RK
- Gnous:
- abbr: Gn
href: https://gnous.eu/
description: gnous.eu
- Proxy:
- Imagisphe:
- abbr: IM
href: https://imagisphe.re/
description: imagisphe.re
@@ -41,6 +41,12 @@
description: PsiTransfer
ping: psitransfer.bensuperpc.org
container: psitransfer
- picoshare:
# icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/picoshare.png
href: https://picoshare.bensuperpc.org/
description: PicoShare
ping: picoshare.bensuperpc.org
container: picoshare
- privatebin:
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/privatebin.png
href: https://privatebin.bensuperpc.org/
@@ -0,0 +1,31 @@
services:
# picoshare
picoshare:
image: mtlynch/picoshare:latest
container_name: picoshare
profiles:
- picoshare
restart: on-failure:5
depends_on:
- caddy
env_file:
- ./picoshare/env/picoshare.env
volumes:
- picoshare_data:/data
networks:
- infra-network
security_opt:
- no-new-privileges:true
read_only: true
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M
reservations:
cpus: '0.001'
memory: 20M
volumes:
picoshare_data:
name: picoshare_data
+3
View File
@@ -0,0 +1,3 @@
PS_SHARED_SECRET=CBuS4DJLqIe93xF1KGYRrnhxUFBqLD2n
PORT=4001
PS_BEHIND_PROXY=true