mirror of
https://github.com/php/web-wiki.git
synced 2025-08-01 16:23:22 +00:00
Add docker instructions
This commit is contained in:
11
README.rst
11
README.rst
@ -1,6 +1,17 @@
|
|||||||
wiki.php.net
|
wiki.php.net
|
||||||
============
|
============
|
||||||
|
|
||||||
|
Docker
|
||||||
|
------
|
||||||
|
|
||||||
|
Building::
|
||||||
|
|
||||||
|
docker build -t php-wiki .
|
||||||
|
|
||||||
|
Running::
|
||||||
|
|
||||||
|
docker run -ti --rm -e dokuwikitoken="$DOKUWIKITOKEN" -v "$PWD/dokuwiki":/var/www/html/ -v "$PWD/httpd.conf":/etc/apache2/sites-available/000-default.conf --name php-wiki -p 8080:80 --user 1000 --sysctl net.ipv4.ip_unprivileged_port_start=0 php-wiki
|
||||||
|
|
||||||
Upgrades
|
Upgrades
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user