mirror of
https://github.com/Luzifer/docker-php5-nginx.git
synced 2024-11-08 14:10:06 +00:00
5c92caf2d5
Use the default FPM config, except the max_children, which is set to 10 as it was with spawn-fcgi.
17 lines
394 B
YAML
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
|