mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-06-15 15:09:25 +02:00
31
infrastructure/picoshare/docker-compose.picoshare.yml
Normal file
31
infrastructure/picoshare/docker-compose.picoshare.yml
Normal 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
|
3
infrastructure/picoshare/env/picoshare.env
vendored
Normal file
3
infrastructure/picoshare/env/picoshare.env
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
PS_SHARED_SECRET=CBuS4DJLqIe93xF1KGYRrnhxUFBqLD2n
|
||||
PORT=4001
|
||||
PS_BEHIND_PROXY=true
|
Reference in New Issue
Block a user