Skip to content

Commit 04259ad

Browse files
committed
adding post about nexcloud-update-5
1 parent 7bc68f1 commit 04259ad

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

_posts/2025-01-28-how-to-install-nextcloud-with-docker-compose-by-using-portainer.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@ sudo usermod -aG docker $USER
3131
Log out and back in for this to take effect.
3232
```
3333
1. Install Portainer
34-
- Run Portainer Using Docker:
34+
Run Portainer Using Docker:
3535
```
3636
docker volume create portainer_data
3737
docker run -d -p 8000:8000 -p 9443:9443 --name portainer \
3838
--restart=always -v /var/run/docker.sock:/var/run/docker.sock \
3939
-v portainer_data:/data portainer/portainer-ce:latest
4040
```
41-
- Access Portainer:
41+
Access Portainer:
4242

4343
Open a browser and go to https://<your-server-ip>:9443.
4444
Follow the setup process to create an admin user.
4545

46-
4. Set Up Nextcloud Using Docker Compose in Portainer
47-
- Step 1: Create a Docker Compose Stack
46+
1. Set Up Nextcloud Using Docker Compose in Portainer
47+
Step 1: Create a Docker Compose Stack
4848
Log in to Portainer.
4949
Navigate to Stacks > Add Stack.
5050
Name your stack, e.g., nextcloud-stack.
5151

52-
- Step 2: Add the Compose Configuration
52+
Step 2: Add the Compose Configuration
5353
Paste the following Docker Compose configuration in the editor:
5454
```
5555
version: '3.8'
@@ -84,11 +84,14 @@ services:
8484
volumes:
8585
nextcloud_data:
8686
db_data:
87+
88+
```
8789
Replace your_password and your_root_password with secure passwords.
88-
```
89-
- Step 3: Deploy the Stack
90+
91+
Step 3: Deploy the Stack
9092
Click Deploy the Stack.
9193
Portainer will pull the required images and start the containers.
94+
9295
1. Access Nextcloud
9396
Open your browser and navigate to http://<your-server-ip>:8080.
9497

0 commit comments

Comments
 (0)