1
0
Fork 0
mirror of https://github.com/Luzifer/docker-php5-nginx.git synced 2024-11-08 14:10:06 +00:00
docker-php5-nginx/playbook.yml
Soenke Ruempler 5c92caf2d5 Use PHP FPM instead of ancient Spawn-FCGI
Use the default FPM config, except the max_children, which is set to 10
as it was with spawn-fcgi.
2015-07-07 22:47:02 +02:00

17 lines
394 B
YAML

---
- hosts: all
sudo: yes
vars:
# php5-fpm
max_children: 10
start_servers: 2
min_spare_servers: 1
max_spare_servers: 3
tasks:
- include: tasks/nginx.yml
- name: Make entrypoint for docker container
copy: src=files/container-run.sh dest=/usr/local/bin/container-run.sh mode=0755 owner=root group=root
handlers:
- include: handlers/nginx.yml