---
apiVersion: v1
kind: ConfigMap
metadata:
  name: hazelcast-1-laravel-configmap
  labels:
    app.kubernetes.io/name: hazelcast-1
    app.kubernetes.io/component: laravel
data:
  php-fpm.conf: |
    [global]

    error_log = /proc/self/fd/2
    daemonize = no

    [www]

    ; if we send this to /proc/self/fd/1, it never appears
    access.log = /proc/self/fd/2

    listen = [::]:9000

    pm = dynamic
    pm.max_children = 10
    pm.start_servers = 4
    pm.min_spare_servers = 2
    pm.max_spare_servers = 6
    clear_env = no

    ; Ensure worker stdout and stderr are sent to the main error log.
    catch_workers_output = yes
