Skip to content

Commit

Permalink
fix(docker-aio): bring PostgREST and Kong subprocesses under supervis…
Browse files Browse the repository at this point in the history
…orctl management (#929)

* fix(docker-aio): bring PostgREST and Kong subprocesses under supervisorctl management

* fix(docker-aio): bring envoy subprocesses under supervisorctl management

---------

Co-authored-by: divit <[email protected]>
  • Loading branch information
pcnc and delgado3d authored Apr 2, 2024
1 parent 3b94db1 commit 4da5977
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/all-in-one/etc/supervisor/services/envoy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ command=/opt/envoy-hot-restarter.py /opt/start-envoy.sh
user=envoy
autorestart=true
autostart=false
stopasgroup=true
stdout_logfile=/var/log/services/envoy.log
redirect_stderr=true
stdout_logfile_maxbytes=10MB
1 change: 1 addition & 0 deletions docker/all-in-one/etc/supervisor/services/kong.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ command=/init/start-kong.sh
user=kong
autorestart=true
autostart=true
stopasgroup=true
environment=KONG_NGINX_DAEMON="off"
stdout_logfile=/var/log/services/kong.log
redirect_stderr=true
Expand Down
1 change: 1 addition & 0 deletions docker/all-in-one/etc/supervisor/services/postgrest.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ command=/etc/postgrest/bootstrap.sh /etc/postgrest/generated.conf /etc/postgrest
user=postgrest
autorestart=true
autostart=true
stopasgroup=true
stdout_logfile=/var/log/services/postgrest.log
redirect_stderr=true
stdout_logfile_maxbytes=10MB

0 comments on commit 4da5977

Please sign in to comment.