@@ -31,25 +31,25 @@ sudo usermod -aG docker $USER
3131Log out and back in for this to take effect.
3232```
33331 . Install Portainer
34- - Run Portainer Using Docker:
34+ Run Portainer Using Docker:
3535```
3636docker volume create portainer_data
3737docker 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
4343Open a browser and go to https://<your-server-ip >:9443.
4444Follow 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
4848Log in to Portainer.
4949Navigate to Stacks > Add Stack.
5050Name your stack, e.g., nextcloud-stack.
5151
52- - Step 2: Add the Compose Configuration
52+ Step 2: Add the Compose Configuration
5353Paste the following Docker Compose configuration in the editor:
5454```
5555version: '3.8'
@@ -84,11 +84,14 @@ services:
8484volumes:
8585 nextcloud_data:
8686 db_data:
87+
88+ ```
8789Replace your_password and your_root_password with secure passwords.
88- ```
89- - Step 3: Deploy the Stack
90+
91+ Step 3: Deploy the Stack
9092Click Deploy the Stack.
9193Portainer will pull the required images and start the containers.
94+
92951 . Access Nextcloud
9396Open your browser and navigate to http://<your-server-ip >:8080.
9497
0 commit comments