docker nextcloud?

  • In order to run Nextcloud you need a database and Docker installed.
    Assume you have both components, do the following:


    Installation of Nextcloud via Docker:
    1. SSH to your machine (I dont't like the Web GUI)
    2. Do the following things:

    Bash
    sudo docker volume create nextcloud-data
    sudo docker run --name nextcloud -d -v nextcloud-data:/var/www/html -p 8080:80


    3. Now Docker begins to run Nextcloud as deamon (-d) with the volume for persistent data named nextcloud-data(-v) and listens on port 8080 (which is redirected to the containers port 80).
    4. Access http://IP-OF-YOUR-OMV:8080
    5. Install Nextcloud
    5.1 Please set up a MariaDB/MySQL database and not use the included one. It's too slow.
    6. Your files are now stored (persistent, in case of container update or crash or whatever) in: /var/lib/docker/openmediavault/volumes/nextcloud-data


    Setup the NGINX redirection:
    1. SSH to your machine again
    2. Do the following:


    Code
    cd /etc/nginx/sites-available/
    sudo nano nextcloud


    3. Fill in the following:


    4. Hit CTRL+X and save with 'y'
    5. ln -s /etc/nginx/sites-enabled/nextcloud /etc/nginx/sites-available/nextcloud
    5. sudo service nginx restart
    6. Access your nextcloud via http://nextcloud.YOURDOMAIN.org

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!