FoolFuuka/Install/Docker
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.
Lastly, under the section foolstack-db, place the port forward:
# explicit port forward as scraper is run outside docker network
ports:
- 127.0.0.1:3306:3306