User Tools

Site Tools


docker_project:part_1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
docker_project:part_1 [2025/03/08 17:09] wizardadmindocker_project:part_1 [2025/03/08 17:29] (current) wizardadmin
Line 17: Line 17:
 Step 4. open a text editor and create a file inside the directory and name it: docker-compose.yaml Step 4. open a text editor and create a file inside the directory and name it: docker-compose.yaml
  
-Step 5. I edited this file and wrote in the following:+Step 5. I edited this file and wrote in the following below, Please note it serves over port 80 which i used for initial setup and configuration. Later on when I was ready to open it to the internet I changed this open port to server over HTTPS port 443
  
 version: '3' version: '3'
 +
 services: services:
   dokuwiki:   dokuwiki:
Line 43: Line 44:
 command: docker-compose up -d command: docker-compose up -d
  
-Step 7. from there +Step 7. from there I remoted into the container while ssh'ed into the Docker server. 
 +command: docker exec -it "Container Name" bash 
 + 
 +Step 8. move to the dokuwiki directory. 
 +command: cd /var/www/html 
 + 
 +Step 9. Now download dokuwiki. 
 +Command:  
 +curl --remote-name https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz 
 +tar -xzvf dokuwiki-stable.tgz --strip-components=1 
 +rm dokuwiki-stable.tgz 
 +chown -R www-data:www-data /var/www/ 
 + 
 +Step 10. Now go to http://your_docker_server_IP:8888/install.php in a web browser and you will be greeted with the start configuration for you Dokuwiki server.
  
docker_project/part_1.1741453764.txt.gz · Last modified: 2025/03/08 17:09 by wizardadmin