Chrisguitarguy.com

One Way to Manage Secrets in Dockerized Applications

WEBPutting configuration in the environment is a fairly well acknowledged best practice now. That configuration often includes secrets. But environment variables in …

Actived: 3 days ago

URL: https://chrisguitarguy.com/2017/12/23/secrets-in-dockerized-applications/

Using Docker Health Checks to Wait for Development …

WEBFebruary 8, 2024 Christopher Davis. At PMG we use Docker and Docker Compose to spin up backing services for local development and continuous integration — think things like …

Category:  Health Go Health

Useful Health Check Endpoints in PHP Applications

WEBAt PMG we run pretty much every application in AWS’s Elastic Container Service with web entrypoint handled by Application Loader Balancers.. One feature of …

Category:  Health Go Health

How to Connect to the Host Machine from a Container on Docker …

WEBShould we need to proxy from nginx in a docker container to the host machine, we can use that special host name. # you may want `X-Forwarded-Host` here. …

Category:  Health Go Health

Making Multiple Instances Play Nice with Symfony’s Autowiring

WEBSymfony's autowiring is one of the best things to come to the framework in the 3.X series. Without it we would all still be extending ContainerAware base classes …

Category:  Health Go Health

Not Everything Needs an Interface – Christopher Davis

WEBI used to have an interface for nearly everything when building applications and I've been pulling back on that position lately. Here I'll explain two cases where I've …

Category:  Health Go Health

Hosting a Single Page Application in AWS – Christopher Davis

WEBHTTPS Certificates in AWS. AWS offers certificate manager (ACM) to provision and maintain TLS certificates that can be attached to AWS resources — like a …

Category:  Health Go Health

Christopher Davis

WEBFebruary 8, 2024 Christopher Davis. At PMG we use Docker and Docker Compose to spin up backing services for local development and continuous integration -- think things like …

Category:  Health Go Health

Waiting for MySQL to be Ready in Docker Compose

WEBWaiting for MySQL to be Ready in Docker Compose. Posted on March 6, 2023March 6, 2023 by Christopher Davis. Had a … fun thing happen in GitHub Actions …

Category:  Health Go Health

Alarming on a High Lambda Error Rates – Christopher Davis

WEBThe above is the actual metric that’s tracked. return_data is the key bit here as that tells cloudwatch that this computed metric is what the alarm is tracking. From the …

Category:  Health Go Health

Extracting GZIP Files with PHP – Christopher Davis

WEBPosted on May 20, 2017 by Christopher Davis. PHP comes with a nice zlib extension in its core. We’re going to use it to extract a gzip compressed file. The steps here are pretty …

Category:  Health Go Health

Working with PostgreSQL Arrays in PHP – Christopher Davis

WEBArray Constructors. In addition to array literals, Postgres offers an Array constructor syntax: ARRAY [1, 2, 3]. Each one of those values in the ARRAY constructor …

Category:  Health Go Health

How to Create New Autoscaling Groups on Lauch Configuration …

WEBTying the Launch Configuration and ASG Together. Now we’ll tie the name of the launch config to the name of an auto scaling group. This forces a new ASG to be …

Category:  Health Go Health

AWS Key Management Service Envelope Encryption in PHP

WEBThis is a PHP example of what AWS calls envelope encryption.Really this is just a way to use a key hierarchy rooted at a key management service (KMS) key. We’ll …

Category:  Health Go Health

When to Return a 401 vs 403 HTTP Response – Christopher Davis

WEBThere are two side of the security coin: authentication and authorization. Authentication answers the question of who (a principal) is making the request to a given …

Category:  Health Go Health

Handling Authentication Tokens in Single Page Apps

WEBAugust 2, 2019August 2, 2019 by Christopher Davis. There are broad scenarios in which a single page app (SPA) needs to handle authentication: The SPA is using an API custom …

Category:  Health Go Health

Logging to Papertrail from Symfony Applications – Christopher Davis

WEBPMG uses Papertrail to aggregate logs and we’ve found it to be really solid over the last four years.. Example Monolog Configuration. Here’s a quick example of …

Category:  Health Go Health

Custom User Provider Factories for the Symfony Security Bundle

WEBSymfony has some great documentation on adding custom security authentication providers, but there is a similarly mature system for user providers.. While …

Category:  Health Go Health

When to Use Single Page App JavaScript Frameworks

WEBBefore I built software for a living, I did SEO. Before I did SEO, I was a content producer. I know what's necessary to rank well on search engines and have …

Category:  Health Go Health