Docker or Kubernetes example
Loading
-
This is an example of a Docker Tiki image that contains Nginx and PHP-FPM. The main process is supervisord which monitors if the instance is up or not (i.e. if both nginx and php-fpm is running). This has been used in a cluster (Kubernetes) but presumably should be usable in Docker Swarm as well. Note that MySql is NOT included so you'd have to pass the MySql connection as environment variables (e.g. using
docker create -e).Edited by Nelson Ko
Please register or sign in to comment