diff --git a/scripts/deploy-frontend.sh b/scripts/deploy-frontend.sh index 0d994c5ab..4c46f3ebd 100755 --- a/scripts/deploy-frontend.sh +++ b/scripts/deploy-frontend.sh @@ -78,6 +78,7 @@ update_frontend() cp -r nginx/src/static/ deployment/public/ cp manifest.buildpack.yml deployment/manifest.buildpack.yml + cp promtail.config.yml deployment/config.yml cd deployment || exit if [ "$1" = "rolling" ] ; then diff --git a/tdrs-frontend/manifest.buildpack.yml b/tdrs-frontend/manifest.buildpack.yml index b29ec46f4..3616a80cb 100755 --- a/tdrs-frontend/manifest.buildpack.yml +++ b/tdrs-frontend/manifest.buildpack.yml @@ -6,5 +6,13 @@ applications: - https://github.com/cloudfoundry/nginx-buildpack.git#v1.2.6 memory: 256M instances: 1 - disk_quota: 256M - timeout: 180 \ No newline at end of file + disk_quota: 512M + timeout: 180 + sidecars: + - name: promtail + process_types: + - worker + command: | + wget https://github.com/grafana/loki/releases/download/v3.1.1/promtail-linux-amd64.zip && + unzip -a promtail-linux-amd64.zip && rm -rf promtail-linux-amd64.zip && + ./promtail-linux-amd64 -config.file=./config.yml