This is a real newbie question. I have read and searched and tried at least 15 different “examples” and I cannot find one that works. Please help.
I need to run Concrete5 from a container. C5 requires APACHE, PHP and MYSQL.
I have gotten close a few times but I get errors that say C5 requires these items which are missing:
-
MySQL PDO Extension Enabled
-
GD Library 2.0.1
-
Zip Support
Here is my current docker-compose.yml
web:
image: php:7.2-apache
environment:
- ALLOW_OVERRIDE=true
ports:
- “80:80”
links:
- db
volumes:
- ./app:/var/www/html/
db:
image: mariadb:10.0.33
restart: always
ports:
- “3306:3306”
environment: - MARIADB_ROOT_PASSWORD=xyzxyzxyz
- MARIADB_USER=c5dbadmin
- MARIADB_PASSWORD=the_db_user_password
- MARIADB_DATABASE=CDL_DB
volumes: - ./data/mysql:/var/lib/mysql
- ./data/config:/etc/mysql/conf.d
Any help would be greatly appreciated.
Sean