mirror of
https://github.com/9001/copyparty.git
synced 2026-02-27 05:53:11 -07:00
Merge 2570dd5cce into 78f6855f08
This commit is contained in:
commit
6ce3b39212
|
|
@ -8,6 +8,14 @@
|
||||||
e2ts # enable multimedia indexing
|
e2ts # enable multimedia indexing
|
||||||
ansi # enable colors in log messages (both in logfiles and stdout)
|
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
|
# q, lo: /cfg/log/%Y-%m%d.log # log to file instead of docker
|
||||||
|
|
||||||
# p: 3939 # listen on another port
|
# p: 3939 # listen on another port
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ services:
|
||||||
container_name: copyparty
|
container_name: copyparty
|
||||||
user: "1000:1000"
|
user: "1000:1000"
|
||||||
ports:
|
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:
|
volumes:
|
||||||
- ./:/cfg:z
|
- ./:/cfg:z
|
||||||
- /path/to/your/fileshare/top/folder:/w:z
|
- /path/to/your/fileshare/top/folder:/w:z
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue