docker-php-tutorial
berglas
docker-php-tutorial | berglas | |
---|---|---|
5 | 37 | |
315 | 1,224 | |
- | 0.1% | |
0.0 | 6.9 | |
about 1 year ago | 1 day ago | |
PHP | Go | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-php-tutorial
-
Monthly 'Shameless Self Promotion' thread - 2023/05
I've started a series of tutorials on "Docker for PHP developers" some years ago and add new articles when I find the time. Each part "evolves" the codebase that I provide as a practical "working" example available at https://github.com/paslandau/docker-php-tutorial.
-
Discussion on what dev environment people use and prefer
Docker is imho the way to go. Only downside for me is the file system performance on Mac and Windows compared to Linux. I've documented "our" setup in https://www.pascallandau.com/blog/docker-from-scratch-for-php-applications-in-2022/ which is part of a multi-part tutorial on "all things docker" for PHP devs => https://github.com/paslandau/docker-php-tutorial
-
Use git-secret to store encrypted secrets in the repository
All code samples are publicly available in my Docker PHP Tutorial repository on github. You find the branch with the final result of this tutorial at part-6-git-secret-encrypt-repository-docker.
-
Running Laravel 9 on Docker - with Queues, Workers, Databases etc.
In the latest part of my tutorial series on Docker for PHP developers I'm showcasing a setup for running Laravel on Docker: https://www.pascallandau.com/blog/run-laravel-9-docker-in-2022/
-
Installed WebStation but not able to setup Virtual Hosts
Deep and straight compose setup: https://github.com/paslandau/docker-php-tutorial there is a related series of blog posts somewhere.
berglas
-
How to deploy a Django app to Google Cloud Run using Terraform
Secret Manager: secure storage for sensitive data e.g passwords.
- How do you handle sensitive variables with a service-worker?
-
Increasing Your Cloud Function Development Velocity Using Dynamically Loading Python Classes
Google Secret Manager
-
Getting started using Google APIs: API Keys (Part 2)
API keys are easy to "leak" or compromise, so best to not only use the restrictions presented to you when you create them but physically protect them as well. Don't code them in plain-text, don't check them into GitHub, etc. Store them in a secure database or use a service like GCP Secret Manager.
-
Need some advice on API key storage
I've been looking at Google Secret Manager which sounds promising but I've not been able to find any examples or tutorials that help with the actual practical details of best practice or getting this working. I'm currently reading about Cloud Functions which also sound promising but again, I'm just going deeper and deeper into GCP without feeling like I'm gaining any useful insights.
-
Secure GitHub Actions by pull_request_target
In this post, I described how to build secure GitHub Actions workflows by pull_request_target event instead of pull_request event. Using pull_request_target, you can prevent malicious codes from being executed in CI. And by managing secrets in secrets management services such as AWS Secrets Manager and Google Secret Manager and access them via OIDC, you can restrict the access to secrets securely. To migrate pull_request to pull_request_target, several modifications are needed. And pull_request_target has a drawback that it's difficult to test changes of workflows, so it's good to introduce pull_request_target to repositories that require strong permissions in CI. For example, a Terraform Monorepo tends to require strong permissions for CI, so it's good to introduce pull_request_target to it.
-
Need Help with Deploying Directus on Google Cloud Platform (GCP)
If you want to make these secrets more secure and get versioning and access logs for them, you may want to switch to Secret Manager later on. They can still be exposed as environment variables to your code. It's a little more setup work, so start with the simple approach at the top.
-
Has anyone been able to implement the OpenAI API with a Firebase Function (which is needed for the env variable API Key)?
https://cloud.google.com/secret-manager https://aws.amazon.com/secrets-manager/
- Securely storing Social Security Numbers with Firebase?
- Dónde van las credenciales cuando voy a subir un código a la nube para correr 24/7?
What are some alternatives?
inframap - Read your tfstate or HCL to generate a graph specific for each provider, showing only the resources that are most important/relevant.
kubernetes-external-secrets - Integrate external secret management systems with Kubernetes
terracognita - Reads from existing public and private cloud providers (reverse Terraform) and generates your infrastructure as code on Terraform configuration
helm-charts
vscode-runme - DevOps Workflows Built with Markdown for VS Code
kube-secrets-init - Kubernetes mutating webhook for `secrets-init` injection
v4-docker - Bootstrapped Chevereto Docker images
gitleaks - Protect and discover secrets using Gitleaks 🔑
Laradock - Full PHP development environment for Docker.
cocert - Split and distribute your private keys securely amongst untrusted network
devops-cli - A Terminal/Web UI to interact with devops tools & services, intended for devops/platform engineers.
secrets-store-csi-driver-provider-gcp - Google Secret Manager provider for the Secret Store CSI Driver.