976 B
976 B
nextcloud-docker-container
Actual command for the nextcloud container.
sudo docker run --name madrigal_cloud -v "/home/smad/madrigal_cloud/data:/var/www/html/data" -v "/home/smad/madrigal_cloud/apps:/var/www/html/custom_apps" -v "/home/smad/madrigal_cloud:/var/www/html" -v "/home/smad/madrigal_cloud/config:/var/www/html/config" --network net -e VIRTUAL_HOST="nextcloud.app.green-chem.net" -e LETSENCRYPT_HOST="nextcloud.app.green-chem.net" -e MYSQL_HOST="madrigal_DB" -e MYSQL_PASSWORD='TUC0815AM_?!' -e MYSQL_ROOT_PASSWORD='TUC0815AM_?!' -e MYSQL_DATABASE="nextcloud" -e MYSQL_USER="nextcloud" -d nextcloud:latest
After creation the container has to be added to the nextc docker-network for it to work with the Database.