@@ -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
46464 . Set Up Nextcloud Using Docker Compose in Portainer
47- - Step 1: Create a Docker Compose Stack
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'
@@ -86,17 +86,17 @@ volumes:
8686 db_data:
8787Replace your_password and your_root_password with secure passwords.
8888```
89- - Step 3: Deploy the Stack
89+ - Step 3: Deploy the Stack
9090Click Deploy the Stack.
9191Portainer will pull the required images and start the containers.
92- - 5 . Access Nextcloud
92+ 1 . Access Nextcloud
9393Open your browser and navigate to http://<your-server-ip >:8080.
9494
9595Complete the Nextcloud setup wizard:
9696Database host: db
9797Database name: nextcloud
9898Database user: nextclouduser
9999Database password: your_password
100- - 6 . Secure with HTTPS (Optional)
100+ 6 . Secure with HTTPS (Optional)
101101
102102To secure Nextcloud, you can set up a reverse proxy with Nginx or Traefik using Let's Encrypt. Let me know if you want guidance on that!
0 commit comments