You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remember that docker-composer will mount the LIBRARY in /var/www/html/library, make sure your config.php reflect that or has the LIBRARY line commented.
// define('LIBRARY', '/path/to/wiki/library');
Build the images and run the container.
cd Wikitten/docker
sudo docker-compose build --force-rm --no-cache
sudo docker-compose up --detach --force-recreate --remove-orphans'
With these commands docker and docker-compose will:
Create a wikitten image based on docker/Dockerfile.
Start a wikitten container and
mount the Wikitten folder to the container's /var/www/html folder;
mount the LIBRARY folder to the container's /var/www/html/library folder;
mount the docker/logs folder to the container's /var/log/apache2 folder;