File tree 3 files changed +48
-3
lines changed 3 files changed +48
-3
lines changed Original file line number Diff line number Diff line change 14
14
! doc /**
15
15
! docs /
16
16
! docs /**
17
+ # # Don't ignore the Task file
18
+ ! Taskfile.yml
17
19
# # Don't ignore the conf directory
18
20
! conf /
19
21
# # Ignore all except the local files and tpl directory
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+
3
+ tasks :
4
+ # Create and run the container
5
+ run :
6
+ cmds :
7
+ - |
8
+ docker run \
9
+ --name site-com-combostrap \
10
+ -d \
11
+ -p 8082:80 \
12
+ --user 1000:1000 \
13
+ -e DOKU_DOCKER_ENV=dev \
14
+ -e DOKU_DOCKER_ACL_POLICY='public' \
15
+ -e DOKU_DOCKER_ADMIN_NAME='admin' \
16
+ -e DOKU_DOCKER_ADMIN_PASSWORD='welcome' \
17
+ -v $PWD:/var/www/html \
18
+ ghcr.io/combostrap/dokuwiki:php8.3-latest
19
+ # Stop the container
20
+ stop :
21
+ cmds :
22
+ - |
23
+ docker stop site-com-combostrap
24
+ # Rm the container
25
+ rm :
26
+ cmds :
27
+ - |
28
+ docker rm site-com-combostrap
29
+ # Start the container
30
+ start :
31
+ cmds :
32
+ - |
33
+ docker rm site-com-combostrap
34
+ # Broken links
35
+ broken :
36
+ cmds :
37
+ - |
38
+ docker exec -it site-com-combostrap php ./bin/wantedpages.php
Original file line number Diff line number Diff line change 4
4
## On Windows WSL, Linux or macOS
5
5
6
6
On your desktop:
7
+ * Clone and go to the root
7
8
``` bash
8
9
git clone https://github.com/ComboStrap/site-com-combostrap
9
10
cd site-com-combostrap
11
+ ```
12
+ * Create and start the container
13
+ ``` bash
14
+ task run
15
+ # or
10
16
docker run \
11
17
--name site-com-combostrap \
12
- --rm \
13
18
-d \
14
- -p 8081 :80 \
19
+ -p 8082 :80 \
15
20
--user 1000:1000 \
16
21
-e DOKU_DOCKER_ENV=dev \
17
22
-e DOKU_DOCKER_ACL_POLICY=' public' \
@@ -20,7 +25,7 @@ docker run \
20
25
-v $PWD :/var/www/html \
21
26
ghcr.io/combostrap/dokuwiki:php8.3-latest
22
27
```
23
- The ComboStrap site should be available at: http://localhost:8081
28
+ The ComboStrap site should be available at: http://localhost:8082
24
29
25
30
26
31
## Wanted Page Check
You can’t perform that action at this time.
0 commit comments