Nextcloud

From ElectroDragon Wiki

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"