docker-compose 模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
muryor 8f5f23381c add 3 years ago
..
README.md add 3 years ago
docker-compose.yml add 3 years ago

README.md

Persistent data All data beyond what lives in the database (file uploads, etc) is stored within the default volume /var/www/html. With this volume, ownCloud will only be updated when the file version.php is not present.

-v /:/var/www/html For fine grained data persistence, you can use 3 volumes, as shown below.

-v //apps:/var/www/html/apps installed / modified apps -v //config:/var/www/html/config local configuration -v //data:/var/www/html/data the actual data of your ownCloud

Run docker stack deploy -c stack.yml owncloud (or docker-compose -f stack.yml up), wait for it to initialize completely, and visit http://swarm-ip:8080/, http://localhost:8080/, or http://host-ip:8080 (as appropriate).