Skip to content

Commit

Permalink
Set pipefail and redirect stderr to stdout in Supervisor Envoy config
Browse files Browse the repository at this point in the history
  • Loading branch information
thebengeu committed Dec 6, 2023
1 parent f191ce3 commit 200972a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/all-in-one/etc/supervisor/services/envoy.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[program:envoy]
# Workaround using `tee` to get `/dev/stdout` access logging to work, see:
# https://github.com/envoyproxy/envoy/issues/8297#issuecomment-620659781
command=sh -c '/opt/envoy --config-path /etc/envoy/envoy.yaml | tee'
command=bash -c 'set -o pipefail; /opt/envoy --config-path /etc/envoy/envoy.yaml 2>&1 | tee'
user=envoy
autorestart=false
autostart=false
Expand Down

0 comments on commit 200972a

Please sign in to comment.