FoolFuuka/Install/Docker: Difference between revisions

From Bibliotheca Anonoma
No edit summary
No edit summary
Line 15: Line 15:
=== Full Stack Compose ===
=== Full Stack Compose ===


This deploys the entire FoolFuuka stack with the FoolFuuka PHP Frontend, Percona MySQL InnoDB, a scraper engine of your choice, and Sphinxsearch. Just use the configuration described in the wiki.
This deploys the entire FoolFuuka stack with the FoolFuuka PHP Frontend, Percona MySQL InnoDB, a scraper engine of your choice, and Sphinxsearch. Just use the configuration described in the readme, define a different root password in production.


https://github.com/Suika/foolstack-docker
https://github.com/Suika/foolstack-docker
Line 22: Line 22:


For testing purposes, if the scraper will run outside the container, and no search is necessary, expose the MySQL port and the Nginx webserver port is already exposed at port 8080.
For testing purposes, if the scraper will run outside the container, and no search is necessary, expose the MySQL port and the Nginx webserver port is already exposed at port 8080.
Based on the configuration defined in the README above, define a different root password in production, remove the ''foolstack-search'', disable the ''foolstack-scraper'', and remove the 'ff-sphinx-*' volumes.

Revision as of 04:30, 27 February 2020

Suika has developed a FoolFuuka/Asagi orchestrator. It has been tested on Debian 9 with Docker compose, but should work fine on any docker setup. Kubernetes and Openshift possibly will be tested later on.

https://github.com/Suika/foolstack-docker

Installing Docker Compose

Ubuntu 18.04 LTS

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04

https://www.digitalocean.com/community/tutorials/how-to-install-docker-compose-on-ubuntu-18-04

Deployment Methods

Full Stack Compose

This deploys the entire FoolFuuka stack with the FoolFuuka PHP Frontend, Percona MySQL InnoDB, a scraper engine of your choice, and Sphinxsearch. Just use the configuration described in the readme, define a different root password in production.

https://github.com/Suika/foolstack-docker

Scraperless Compose

For testing purposes, if the scraper will run outside the container, and no search is necessary, expose the MySQL port and the Nginx webserver port is already exposed at port 8080.

Based on the configuration defined in the README above, define a different root password in production, remove the foolstack-search, disable the foolstack-scraper, and remove the 'ff-sphinx-*' volumes.