initial impl
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
86b928adf1
commit
89a26d5f63
|
@ -0,0 +1,7 @@
|
|||
pipeline:
|
||||
docker:
|
||||
image: plugins/docker
|
||||
repo: docker.jcg.re/base-php
|
||||
registry: docker.jcg.re
|
||||
secrets: [docker_username, docker_password]
|
||||
tags: latest
|
|
@ -0,0 +1,5 @@
|
|||
FROM docker.jcg.re/base-caddy
|
||||
RUN apk add --no-cache \
|
||||
php7-fpm
|
||||
ADD root /
|
||||
EXPOSE 8888
|
|
@ -0,0 +1,3 @@
|
|||
:8888
|
||||
root /phpapp
|
||||
fastcgi / /tmp/php-fpm.sock php
|
|
@ -0,0 +1,11 @@
|
|||
[global]
|
||||
daemonize = no
|
||||
|
||||
[www]
|
||||
listen = /tmp/php-fpm.sock
|
||||
pm = dynamic
|
||||
pm.max_children = 5
|
||||
pm.start_servers = 2
|
||||
pm.min_spare_servers = 1
|
||||
pm.max_spare_servers = 3
|
||||
chdir = /
|
|
@ -0,0 +1 @@
|
|||
#!/bin/sh
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
su-exec ${UID}:${GID} caddy --conf /etc/Caddyfile
|
|
@ -0,0 +1 @@
|
|||
#!/bin/sh
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
chown -R ${UID}:${GID} /phpapp /var/log/php7
|
||||
su-exec ${UID}:${GID} php-fpm7
|
Loading…
Reference in New Issue