Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for crazy-max/docker-dokuwiki Docker deployment #532

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions css.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# LinuxServer.io (Docker) /app/dokuwiki
# Arch Linux /usr/share/webapps/dokuwiki
# Debian/Ubuntu /usr/share/dokuwiki
# CrazyMax (Docker) /var/www
#
# NOTE If DokuWiki core libraries (DOKU_INC) is in another location you can
# create a PHP file in bootstrap3 root directory called "doku_inc.php" with
Expand All @@ -27,7 +28,8 @@
'/opt/bitnami/dokuwiki', # Bitnami (Docker)
'/usr/share/webapps/dokuwiki', # Arch Linux
'/usr/share/dokuwiki', # Debian/Ubuntu
'/app/dokuwiki', # LinuxServer.io (Docker),
'/app/dokuwiki', # LinuxServer.io (Docker)
'/var/www', # CrazyMax (Docker)
realpath(dirname(__FILE__) . '/../../../'), # Default DokuWiki path
);

Expand All @@ -45,7 +47,6 @@
}
}


// we do not use a session or authentication here (better caching)

if (!defined('NOSESSION')) {
Expand Down
5 changes: 3 additions & 2 deletions iconify.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# LinuxServer.io (Docker) /app/dokuwiki
# Arch Linux /usr/share/webapps/dokuwiki
# Debian/Ubuntu /usr/share/dokuwiki
# CrazyMax (Docker) /var/www
#
# NOTE If DokuWiki core libraries (DOKU_INC) is in another location you can
# create a PHP file in bootstrap3 root directory called "doku_inc.php" with
Expand All @@ -23,12 +24,12 @@
#
# (!) This file will be deleted on every upgrade of template


$doku_inc_dirs = array(
'/opt/bitnami/dokuwiki', # Bitnami (Docker)
'/usr/share/webapps/dokuwiki', # Arch Linux
'/usr/share/dokuwiki', # Debian/Ubuntu
'/app/dokuwiki', # LinuxServer.io (Docker),
'/app/dokuwiki', # LinuxServer.io (Docker)
'/var/www', # CrazyMax (Docker)
realpath(dirname(__FILE__) . '/../../../'), # Default DokuWiki path
);

Expand Down