Difference between revisions of "Nextcloud"

From ElectroDragon
Jump to navigation Jump to search
(Created page with "Docker run * docker run -d -p 80:80 --name nc nextcloud:fpm category: Docker Images")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Docker run
 
Docker run
 +
* docker run -d -p 80:80 --name nc nextcloud
 
* docker run -d -p 80:80 --name nc nextcloud:fpm
 
* docker run -d -p 80:80 --name nc nextcloud:fpm
 +
mysql
 +
* docker run -d -p 80:80 --name nc --link sql:mysql -e MYSQL_DATABASE=main -e MYSQL_USER=root -e MYSQL_PASSWORD=123456 nextcloud
 +
* docker run -d -p 80:80 --name nc --link sql:mysql nextcloud
 +
== Data ==
 +
docker run -d -p 80:80 --name nc \
 +
    -v nextcloud:/var/www/html \
 +
    -v apps:/var/www/html/custom_apps \
 +
    -v config:/var/www/html/config \
 +
    -v data:/var/www/html/data \
 +
    nextcloud
 +
 +
== Usage ==
 +
* Enter for mysql root / password / database_name / docker domain "sql"
  
 
[[category: Docker Images]]
 
[[category: Docker Images]]

Latest revision as of 13:44, 28 May 2020

Docker run

  • docker run -d -p 80:80 --name nc nextcloud
  • docker run -d -p 80:80 --name nc nextcloud:fpm

mysql

  • docker run -d -p 80:80 --name nc --link sql:mysql -e MYSQL_DATABASE=main -e MYSQL_USER=root -e MYSQL_PASSWORD=123456 nextcloud
  • docker run -d -p 80:80 --name nc --link sql:mysql nextcloud

Data

docker run -d -p 80:80 --name nc \
   -v nextcloud:/var/www/html \
   -v apps:/var/www/html/custom_apps \
   -v config:/var/www/html/config \
   -v data:/var/www/html/data \
   nextcloud

Usage

  • Enter for mysql root / password / database_name / docker domain "sql"