Files
copyparty/.env.sample
2025-11-25 21:59:28 -05:00

26 lines
795 B
Plaintext

TYPE=copyparty
DOMAIN=copyparty.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.copyparty.example.com`'
LETS_ENCRYPT_ENV=production
SECRET_ADMIN_PASS_VERSION=v1
SECRET_WRITE_PASS_VERSION=v1
## ACCESS OPTIONS
# Change this to true to allow anyone to write files without a password
PUBLIC_WRITE=false
# Change this to allow only certain IPs (or CIRD ranges) to access the server e.g. '10.0.0.1/8, 64.109.11.14'
# To filter public IPs, you must enable host mode in Traefik (see the Traefik config)
IP_ALLOWRANGE="0.0.0.0/0"
## PERFORMANCE OPTIONS
# enable mimalloc by replacing "NOPE" with "2" for a nice speed-boost (will use twice as much ram)
LD_PRELOAD=/usr/lib/libmimalloc-secure.so.NOPE
# ensures log-messages are not delayed (but can reduce speed a tiny bit)
PYTHONUNBUFFERED=1