This commit is contained in:
Gian P. 2026-01-18 19:14:58 -08:00 committed by GitHub
commit 6ce3b39212
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -8,6 +8,14 @@
e2ts # enable multimedia indexing
ansi # enable colors in log messages (both in logfiles and stdout)
# If using a reverse proxy:
rproxy: -1 # Tell cpp we are behind 1 proxy
xff-src: 10.0.0.0/8 # Trust connections from Docker Gateway (10.0.2.1)
# If also using cloudflare DNS with proxy: (also keep the 2 configs above enabled/uncommented!)
# (see a full working nginx file example to use domain name + https + cloudflare in docs/examples/docker/basic-docker-compose)
# xff-hdr: x-forwarded-for # Read the real IP from this header
# q, lo: /cfg/log/%Y-%m%d.log # log to file instead of docker
# p: 3939 # listen on another port

View file

@ -6,7 +6,7 @@ services:
container_name: copyparty
user: "1000:1000"
ports:
- 3923:3923
- 3923:3923 # use 127.0.0.1:3923:3923 if you want to listen locally only (ideal if you're using a domain + reverse proxy)
volumes:
- ./:/cfg:z
- /path/to/your/fileshare/top/folder:/w:z