infrastructure/infrastructure/services/psitransfer/docker-compose.psitransfer.yml
Bensuperpc 3b4c3cb54c Improve docker-compose
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2025-01-19 21:08:53 +01:00

32 lines
647 B
YAML

services:
# psitransfer
psitransfer:
image: psitrax/psitransfer:latest
container_name: psitransfer
profiles:
- psitransfer
restart: on-failure:5
user: ${PUID:-1000}:${PGID:-1000}
depends_on:
- caddy
env_file:
- ./env/psitransfer.env
volumes:
- psitransfer_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:
psitransfer_data:
name: psitransfer_data