docker_project:part_1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
docker_project:part_1 [2025/03/08 17:09] – wizardadmin | docker_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 |
version: ' | version: ' | ||
+ | |||
services: | services: | ||
dokuwiki: | dokuwiki: | ||
Line 43: | Line 44: | ||
command: docker-compose up -d | command: docker-compose up -d | ||
- | Step 7. from there i | + | Step 7. from there I remoted into the container while ssh'ed into the Docker server. |
+ | command: docker exec -it " | ||
+ | |||
+ | Step 8. move to the dokuwiki directory. | ||
+ | command: cd / | ||
+ | |||
+ | Step 9. Now download dokuwiki. | ||
+ | Command: | ||
+ | curl --remote-name https:// | ||
+ | tar -xzvf dokuwiki-stable.tgz --strip-components=1 | ||
+ | rm dokuwiki-stable.tgz | ||
+ | chown -R www-data: | ||
+ | |||
+ | Step 10. Now go to http:// | ||
docker_project/part_1.1741453764.txt.gz · Last modified: 2025/03/08 17:09 by wizardadmin