mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2026-10-26 11:55:05 +01:00
1 parent
d7a36310ec
commit
5b48945835
7 files changed
+57
-4
No files matched your search
@@ -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
@@ -0,0 +1,3 @@
|
||||
PS_SHARED_SECRET=CBuS4DJLqIe93xF1KGYRrnhxUFBqLD2n
|
||||
PORT=4001
|
||||
PS_BEHIND_PROXY=true
|
||||
Reference in new issue
Block a user