Pointers for Docker Newbie - NextCloud
Posted: 12 Jan 2021, 22:47
Hi.
I'm stumbling around in the dark a bit here and with a few minutes of someone's time they might point me in the right direction.
I've installed the Docker app from the Apps from the desktop.
I've grabbed this image : https://hub.docker.com/r/linuxserver/nextcloud/
Using:
This now shows up in the Docker App, under images.
Should I launch this in the Docker App and fill in various parts of the forms associated with this, based on this data from the nextcloud site above:
Should I start from the CLI based on this
Or should I use the docker-compose method (Using the first set of parameters). Reading this recipe it seems I need to create some other folders and files which I'm not too sure about where exactly to create the directories etc. https://docs.docker.com/compose/gettingstarted/
My guess would be that the bulk of the work in this recipe should have been done. Do I need to find the directory and create the docker-compose.yml file there and then issue a
Where is the app data path - Is this simple /mnt/appdata or do I need to work out where the correct path for nextcloud is?
Where is the data path - Should I be creating a new directory for this?
Is there other work that needs doing - Installing a web server or adding SSL or similar?
If anyone has done this and they can point me in the right direction I would be very grateful.
Thanks
Steve
I'm stumbling around in the dark a bit here and with a few minutes of someone's time they might point me in the right direction.
I've installed the Docker app from the Apps from the desktop.
I've grabbed this image : https://hub.docker.com/r/linuxserver/nextcloud/
Using:
Code: Select all
docker pull ghcr.io/linuxserver/nextcloudShould I launch this in the Docker App and fill in various parts of the forms associated with this, based on this data from the nextcloud site above:
Code: Select all
---
version: "2.1"
services:
nextcloud:
image: ghcr.io/linuxserver/nextcloud
container_name: nextcloud
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- /path/to/appdata:/config
- /path/to/data:/data
ports:
- 443:443
restart: unless-stoppedCode: Select all
docker run -d \
--name=nextcloud \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Europe/London \
-p 443:443 \
-v /path/to/appdata:/config \
-v /path/to/data:/data \
--restart unless-stopped \
ghcr.io/linuxserver/nextcloudMy guess would be that the bulk of the work in this recipe should have been done. Do I need to find the directory and create the docker-compose.yml file there and then issue a
Code: Select all
docker-compose upCode: Select all
volumes:
- /path/to/appdata:/config
- /path/to/data:/dataWhere is the data path - Should I be creating a new directory for this?
Is there other work that needs doing - Installing a web server or adding SSL or similar?
If anyone has done this and they can point me in the right direction I would be very grateful.
Thanks
Steve