Dockerize passman for modern environments
Ported the original passman PHP/MySQL application to a Docker-based setup using Apache and MariaDB. Fixed compatibility issues with modern PHP/MariaDB versions (HTTP header handling and database collation) using minimal, targeted changes. Preserved the original application logic and structure while ensuring correct execution in a contemporary containerized environment.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM php:8.2-apache
|
||||
|
||||
# Install mysqli extension (needed for mysqli_connect)
|
||||
RUN docker-php-ext-install mysqli
|
||||
|
||||
# Optional: enable rewrite
|
||||
RUN a2enmod rewrite
|
||||
|
||||
# Keep default docroot: /var/www/html
|
||||
WORKDIR /var/www/html
|
||||
Reference in New Issue
Block a user