A simple Craft installation using PHP7 and Mysql
2.6K
A simple Craft installation using PHP7 and Mysql
You can set a database to use with the following 4 variables
MYSQL_HOST
MYSQL_DATABASE
MYSQL_USER
MYSQL_PASSWORD
ENV MYSQL_HOST mysql
ENV MYSQL_DATABASE craft
ENV MYSQL_USER root
ENV MYSQL_PASSWORD password
We've also been known to extend this docker image so that we can make images for production. Our custom Dockerfile per project looks something like this
FROM skyrocket/craft:latest
COPY ./db.php /usr/share/nginx/craft/config/db.php
We try to keep our custom dockerfiles very, very thin. So builds are fast.
Content type
Image
Digest
Size
306.5 MB
Last updated
over 9 years ago
docker pull skyrkt/craft