Skip to content

Commit 7bedcbe

Browse files
committed
Adding Supervisord Header Config
1 parent 126e55c commit 7bedcbe

File tree

22 files changed

+55
-33
lines changed

22 files changed

+55
-33
lines changed

8.0-nginx-prod/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ ENV PHP_FPM_LISTEN=/run/php-fpm.sock \
2929
NGINX_FASTCGI_BUFFER_SIZE='16k' \
3030
NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE=true
3131

32-
RUN curl -L https://github.com/ochinchina/supervisord/releases/download/v0.6.3/supervisord_static_0.6.3_linux_amd64 -o /usr/local/bin/supervisord \
33-
&& chmod +x /usr/local/bin/supervisord \
34-
&& apk add --no-cache nginx \
32+
RUN apk add --no-cache nginx supervisord \
3533
&& chown -R kool:kool /var/lib/nginx \
3634
&& chmod 770 /var/lib/nginx/tmp \
3735
&& ln -sf /dev/stdout /var/log/nginx/access.log \

8.0-nginx-prod/supervisor.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[supervisord]
2+
logfile=/dev/stdout
3+
nodaemon=true
4+
15
[program:nginx]
26
depends_on = php-fpm
37
command = nginx -g "daemon off;"

8.0-nginx/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ ENV PHP_FPM_LISTEN=/run/php-fpm.sock \
2929
NGINX_FASTCGI_BUFFER_SIZE='16k' \
3030
NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE=true
3131

32-
RUN curl -L https://github.com/ochinchina/supervisord/releases/download/v0.6.3/supervisord_static_0.6.3_linux_amd64 -o /usr/local/bin/supervisord \
33-
&& chmod +x /usr/local/bin/supervisord \
34-
&& apk add --no-cache nginx \
32+
RUN apk add --no-cache nginx supervisord \
3533
&& chown -R kool:kool /var/lib/nginx \
3634
&& chmod 770 /var/lib/nginx/tmp \
3735
&& ln -sf /dev/stdout /var/log/nginx/access.log \

8.0-nginx/supervisor.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[supervisord]
2+
logfile=/dev/stdout
3+
nodaemon=true
4+
15
[program:nginx]
26
depends_on = php-fpm
37
command = nginx -g "daemon off;"

8.1-nginx-prod/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ ENV PHP_FPM_LISTEN=/run/php-fpm.sock \
2929
NGINX_FASTCGI_BUFFER_SIZE='16k' \
3030
NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE=true
3131

32-
RUN curl -L https://github.com/ochinchina/supervisord/releases/download/v0.6.3/supervisord_static_0.6.3_linux_amd64 -o /usr/local/bin/supervisord \
33-
&& chmod +x /usr/local/bin/supervisord \
34-
&& apk add --no-cache nginx \
32+
RUN apk add --no-cache nginx supervisord \
3533
&& chown -R kool:kool /var/lib/nginx \
3634
&& chmod 770 /var/lib/nginx/tmp \
3735
&& ln -sf /dev/stdout /var/log/nginx/access.log \

8.1-nginx-prod/supervisor.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[supervisord]
2+
logfile=/dev/stdout
3+
nodaemon=true
4+
15
[program:nginx]
26
depends_on = php-fpm
37
command = nginx -g "daemon off;"

8.1-nginx/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ ENV PHP_FPM_LISTEN=/run/php-fpm.sock \
2929
NGINX_FASTCGI_BUFFER_SIZE='16k' \
3030
NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE=true
3131

32-
RUN curl -L https://github.com/ochinchina/supervisord/releases/download/v0.6.3/supervisord_static_0.6.3_linux_amd64 -o /usr/local/bin/supervisord \
33-
&& chmod +x /usr/local/bin/supervisord \
34-
&& apk add --no-cache nginx \
32+
RUN apk add --no-cache nginx supervisord \
3533
&& chown -R kool:kool /var/lib/nginx \
3634
&& chmod 770 /var/lib/nginx/tmp \
3735
&& ln -sf /dev/stdout /var/log/nginx/access.log \

8.1-nginx/supervisor.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[supervisord]
2+
logfile=/dev/stdout
3+
nodaemon=true
4+
15
[program:nginx]
26
depends_on = php-fpm
37
command = nginx -g "daemon off;"

8.2-nginx-prod/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ ENV PHP_FPM_LISTEN=/run/php-fpm.sock \
2929
NGINX_FASTCGI_BUFFER_SIZE='16k' \
3030
NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE=true
3131

32-
RUN curl -L https://github.com/ochinchina/supervisord/releases/download/v0.6.3/supervisord_static_0.6.3_linux_amd64 -o /usr/local/bin/supervisord \
33-
&& chmod +x /usr/local/bin/supervisord \
34-
&& apk add --no-cache nginx \
32+
RUN apk add --no-cache nginx supervisord \
3533
&& chown -R kool:kool /var/lib/nginx \
3634
&& chmod 770 /var/lib/nginx/tmp \
3735
&& ln -sf /dev/stdout /var/log/nginx/access.log \

8.2-nginx-prod/supervisor.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[supervisord]
2+
logfile=/dev/stdout
3+
nodaemon=true
4+
15
[program:nginx]
26
depends_on = php-fpm
37
command = nginx -g "daemon off;"

0 commit comments

Comments
 (0)