Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.3 KB

README.md

File metadata and controls

39 lines (31 loc) · 1.3 KB

cloudreve-docker

Dockerfile for Cloudreve V3. A trial to use Github Action.

Inspired by Cloudreve and xavier-niu/cloudreve-docker

Run

docker run -d \
  --name cloudreve \
  -e TZ="Asia/Shanghai" \ # optional
  -p 5212:5212 \ 
  --restart=unless-stopped \ # optional
  -v <PATH TO UPLOADS>:/cloudreve/uploads \
  -v <PATH TO conf.ini>:/cloudreve/conf.ini \
  -v <PATH TO cloudreve.db>:/cloudreve/cloudreve.db \
  -v <PATH TO avatar>:/cloudreve/avatar \
  rnicrosoft/cloudreve

where

<PATH TO UPLOADS>: for upload files
<PATH TO conf.ini>: configuration file (not directory)
<PATH TO cloudreve.db>: database file (not directory)
<PATH TO avatar>: for avatar files

Notes

Default timezone is Asia/Shanghai.

After the docker first run, use docker logs -f cloudreve to get the generated initial password.