Last update at :2024-05-27,Edit by888u
Description: Cloudreve is a multi-functional network disk system that supports multiple cloud storages. Demo: https://pan.us.com/Home.
The usage environment of this image is Apache 2.4, MariaDB 10, and PHP 7.1. And does not support the OpenVZ architecture.
1. Install Docker
curl -sSL https://get.docker.com/ | sh service docker start2. Pull the image
docker pull ilemonrain/cloudreve3. Configuration mirror
docker run [-d/-t] -p 80:80 -v /cloudreve:/cloudreve -e CLOUDREVE_URL="[Cloudreve URL]" --name docker-cloudreve ilemonrain/cloudreveParameter description:
#-d/-t: Determine whether to start in background running mode or foreground monitoring mode. Use the -d parameter to start, and the image will not output any logs to your Console and start directly in Daemon mode. When starting in Deamon mode, you can use the docker logs docker-cloudreve command to display the startup log. Using the -t parameter to start will directly attach your image to your Console. When starting in this mode, you can intuitively see the image startup process, which is suitable for initial deployment of the image and image Debug deployment. You can use Ctrl+C to run the Docker image in the background, and use the docker logs docker-cloudreve command to display the startup log. #-v /cloudreve:/cloudreve: Map the /cloudreve directory in the Docker container to the /cloudreve directory of the host. The one before the colon is the mapping path, and the one after the colon is the path in the container (mapping is strongly recommended to ensure that the container To ensure the security of data in the container and avoid data loss when the container crashes unexpectedly), the paths that can be mapped in the container are: /cloudreve: Cloudreve program directory and network disk file directory /var/lib/mysql: MariaDB (MySQL) database file directory #-p 80:80: Expose port 80 inside your Docker container to port 80 outside your container. Due to the current development status, it is not recommended to modify this port. #-e CLOUDREVE_URL="[Cloudreve URL]": The address bound to Cloudreve. This parameter must be filled in strictly. The http/https prefix and the trailing slash cannot be lost! Such as http://xx.com/.Finally open the address!
via: https://www.moerats.com/archives/556/
Recommended site search: Yangzhou dual-line server, free virtual host application, domain name registration query, forum registration, domain name query official website free domain name, web page registration, mobile agent IP, virtual space purchase, high-defense US server,
All copyrights belong to 888u unless special state
发表评论