Original credit goes to: https://gist.githubusercontent.com/christopher-hopper/9755310/
These steps are just specific to the DemacMedia Vagrant-LAMP repo: https://github.com/DemacMedia/vagrant-lamp
This PlayBook is assuming:
Original credit goes to: https://gist.githubusercontent.com/christopher-hopper/9755310/
These steps are just specific to the DemacMedia Vagrant-LAMP repo: https://github.com/DemacMedia/vagrant-lamp
This PlayBook is assuming:
| <?php | |
| // Allowed characters | |
| $passChars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890_-=+!@#$%^&*()~?><.,'; | |
| // Pre-Define length to 32 characters | |
| $pwLength = 32; | |
| // User defined password length for CLI and web request | |
| if (!empty($argv[1]) && is_numeric($argv[1]) && $argv[1] >= 6) { // CLI |
| FROM php:8.1.1-fpm-alpine | |
| # HEAVILITY INFLUENCED BY https://github.com/TrafeX/docker-php-nginx | |
| # Without TrafeX repository, I'd still be doing this. | |
| LABEL maintainer="Stoyvo" | |
| # No interative terminals | |
| ENV DEBIAN_FRONTEND noninteractive | |
| # Set timezone to UTC. Just easier that way with most cloud services. |