1version: '3'
2
3services:
4  dokuwiki:
5    #image: mprasil/dokuwiki:latest
6    build:
7      context: ../dokuwikiapp
8      args:
9        - MAXPOST=30M    # OPTIONAL: Change value to allow upload of bigger/smaller files
10        - MAXFILE=30M    # OPTIONAL: Change value to allow upload of bigger/smaller files
11    container_name: dokuwiki
12    ports:
13      - "80:80"   # OPTIONAL: Change "left" number to "publish" Dokuwiki in a different port
14    volumes:
15      - /absolute/or/relative/path/to/data:/dokuwiki/data           # REQUIRED: Change "left" path
16      - /absolute/or/relative/path/to/conf:/dokuwiki/conf           # REQUIRED: Change "left" path
17      - /absolute/or/relative/path/to/plugins:/dokuwiki/lib/plugins # REQUIRED: Change "left" path
18      - /absolute/or/relative/path/to/tpl:/dokuwiki/lib/tpl         # REQUIRED: Change "left" path
19      - /absolute/or/relative/path/to/logs:/var/log                 # REQUIRED: Change "left" path
20