diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-06-17 01:02:50 +0200 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2018-06-17 01:02:50 +0200 |
commit | 2a3fe990dd0730fce9465bbef6ad1a01054f775d (patch) | |
tree | 4abc8afd3bd63145e66f77f9279de7b246ceb7bd /.docker/php-fpm.conf | |
parent | 7cf436cea4d05fe667c479be8b909c55c3f1da40 (diff) | |
download | Shaarli-2a3fe990dd0730fce9465bbef6ad1a01054f775d.tar.gz Shaarli-2a3fe990dd0730fce9465bbef6ad1a01054f775d.tar.zst Shaarli-2a3fe990dd0730fce9465bbef6ad1a01054f775d.zip |
docker: build the images from the local sources
Relates to https://github.com/shaarli/Shaarli/issues/1153
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to '.docker/php-fpm.conf')
-rw-r--r-- | .docker/php-fpm.conf | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.docker/php-fpm.conf b/.docker/php-fpm.conf new file mode 100644 index 00000000..0843c164 --- /dev/null +++ b/.docker/php-fpm.conf | |||
@@ -0,0 +1,16 @@ | |||
1 | [global] | ||
2 | daemonize = no | ||
3 | |||
4 | [www] | ||
5 | user = nginx | ||
6 | group = nginx | ||
7 | listen.owner = nginx | ||
8 | listen.group = nginx | ||
9 | catch_workers_output = yes | ||
10 | listen = /var/run/php-fpm.sock | ||
11 | pm = dynamic | ||
12 | pm.max_children = 20 | ||
13 | pm.start_servers = 1 | ||
14 | pm.min_spare_servers = 1 | ||
15 | pm.max_spare_servers = 3 | ||
16 | pm.max_requests = 2048 | ||