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

View File

@ -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

View File

@ -0,0 +1,3 @@
PS_SHARED_SECRET=CBuS4DJLqIe93xF1KGYRrnhxUFBqLD2n
PORT=4001
PS_BEHIND_PROXY=true