Zencart 1.57+ Docker Compose MariaDB 10.5 Debian 10
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Your Name 44b2e20013 readme updates2 3 years ago
app should work 3 years ago
README.md readme updates2 3 years ago
docker-compose.yml should work 3 years ago

README.md

zencart on docker

Release 1.57 Debian 10 php7.3

5+ hours of work. Maybe should've just used a turnkey appliance. Maybe... Maybe not.

tips

docker exec -it zencart /bin/bash

#NOTES index.html must be deleted to make room for index.php, otherwise debian default page takes precedence

if you don't keep /var/www/html, then you lose all data when container is restarted.

The apache ENV vars must be set in Dockerfile (already done, just leaving a note. ENV APACHE_RUN_USER www-data ENV APACHE_RUN_GROUP www-data ENV APACHE_LOG_DIR /var/log/apache2 ENV APACHE_PID_FILE /var/run/apache2.pid ENV APACHE_RUN_DIR /var/www/html/ ENV APACHE_LOCK_DIR /var/lock/apache2

mcrypt had to be a specific release, and is installed separately with pecl...

The new apache2 conf is mostly the same, but has allowance for htaccess, iirc. compare to stock apache2 conf if interested.

mariadb used was 10.5. As of this writing it pulls 10.5.9 (which works). It's possible 10.5.10 will break things, who knows.

zencart has which mariadb, php, and apache it works with in the downloadable zip.

You should have along with this folder of the docker-compose, app w/dockerfile & apache2 conf but also a dbdata folder (stores db), and a folder for /var/www/html. See dockerfile and docker-compose.