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.

45 lines
1.1 KiB

3 years ago
3 years ago
  1. # zencart on docker
  2. Release 1.57
  3. Debian 10
  4. php7.3
  5. 5+ hours of work.
  6. Maybe should've just used a turnkey appliance. Maybe... Maybe not.
  7. # tips
  8. docker exec -it zencart /bin/bash
  9. #NOTES
  10. index.html must be deleted to make room for index.php,
  11. otherwise debian default page takes precedence
  12. if you don't keep /var/www/html, then you lose all data when container is restarted.
  13. The apache ENV vars must be set in Dockerfile (already done, just leaving a note.
  14. ENV APACHE_RUN_USER www-data
  15. ENV APACHE_RUN_GROUP www-data
  16. ENV APACHE_LOG_DIR /var/log/apache2
  17. ENV APACHE_PID_FILE /var/run/apache2.pid
  18. ENV APACHE_RUN_DIR /var/www/html/
  19. ENV APACHE_LOCK_DIR /var/lock/apache2
  20. mcrypt had to be a specific release, and is installed separately with pecl...
  21. The new apache2 conf is mostly the same, but has allowance for htaccess, iirc.
  22. compare to stock apache2 conf if interested.
  23. mariadb used was 10.5. As of this writing it pulls 10.5.9 (which works). It's possible
  24. 10.5.10 will break things, who knows.
  25. zencart has which mariadb, php, and apache it works with in the downloadable zip.