aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker/stable/supervised.conf
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2017-04-09 14:50:13 +0200
committerVirtualTam <virtualtam@flibidi.net>2017-10-03 19:47:01 +0200
commit1a216faecb5c114afbf36ecbac8ec3f795309eba (patch)
treef02b0c42192ebcfdd99b4d3d636e28a4d91b0399 /docker/stable/supervised.conf
parent2f69b6d04e399bd3efae0f12b8ad8c148fabf350 (diff)
downloadShaarli-1a216faecb5c114afbf36ecbac8ec3f795309eba.tar.gz
Shaarli-1a216faecb5c114afbf36ecbac8ec3f795309eba.tar.zst
Shaarli-1a216faecb5c114afbf36ecbac8ec3f795309eba.zip
docker: switch to Alpine Linux for the master image
Relates to https://github.com/shaarli/Shaarli/issues/843 Changed: - switch base image from Debian:Jessie to Alpine:3.6 - switch to PHP 7.1 - switch from supervisord to s6 to manage services See: - https://alpinelinux.org/ - https://wiki.alpinelinux.org/wiki/Nginx_with_PHP - http://www.skarnet.org/software/s6/ - http://www.skarnet.org/software/s6/s6-svscan.html - http://www.skarnet.org/software/s6/s6-svc.html - http://www.skarnet.org/software/s6/s6-svstat.html Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'docker/stable/supervised.conf')
-rw-r--r--docker/stable/supervised.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/docker/stable/supervised.conf b/docker/stable/supervised.conf
new file mode 100644
index 00000000..5acd9795
--- /dev/null
+++ b/docker/stable/supervised.conf
@@ -0,0 +1,13 @@
1[program:php5-fpm]
2command=/usr/sbin/php5-fpm -F
3priority=5
4autostart=true
5autorestart=true
6
7[program:nginx]
8command=/usr/sbin/nginx
9priority=10
10autostart=true
11autorestart=true
12stdout_events_enabled=true
13stderr_events_enabled=true