...
 
Commits (2)
## [0.4.3] - 02-03-2019
### Update
- Upgrade Craft to [2.7.5](https://github.com/craftcms/cms/blob/master-v2/CHANGELOG-v2.md)
- Upgrade MariaDB to [10.4.3](https://mariadb.com/kb/en/library/mariadb-1043-release-notes/)
- Upgrade Redis to [4.0.13](https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES)
## [0.4.2] - 24-01-2019
### Update
- Upgrade MariaDB to [10.4.1](https://mariadb.com/kb/en/library/mariadb-1041-release-notes/)
- Upgrade Redis to [4.0.12](https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES)
## [0.4.1] - 30-11-2018
### Update
- Upgrade Craft to [2.7.4](https://github.com/craftcms/cms/blob/master-v2/CHANGELOG-v2.md)
......
......@@ -3,7 +3,7 @@ FROM wyveo/nginx-php-fpm:php72
MAINTAINER Colin Wilson "colin@wyveo.com"
# Set craft cms version
ENV CRAFT_VERSION=2.7 CRAFT_BUILD=4
ENV CRAFT_VERSION=2.7 CRAFT_BUILD=5
ENV CRAFT_ZIP=Craft-$CRAFT_VERSION.$CRAFT_BUILD.zip
......
Copyright (c) 2017 - 2018 wyveo.com
Copyright (c) 2017 - 2019 wyveo.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
......
[![Docker Hub; wyveo/craftcms-docker](https://img.shields.io/badge/docker%20hub-%20wyveo%2Fcraftcms--docker-blue.svg)](https://hub.docker.com/r/wyveo/craftcms-docker/) ![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)
[![Docker Hub; wyveo/craftcms-docker](https://img.shields.io/badge/docker%20hub-wyveo%2Fcraftcms--docker-blue.svg?&logo=docker&style=for-the-badge)](https://hub.docker.com/r/wyveo/craftcms-docker/) [![License MIT](https://img.shields.io/badge/license-MIT-blue.svg?&style=for-the-badge)](https://github.com/wyveo/nginx-php-fpm/blob/master/LICENSE)
## Introduction
This is a [Craft 3](https://craftcms.com/3) / [Craft 2](https://craftcms.com/) base running on the [nginx-php-fpm](https://hub.docker.com/r/wyveo/nginx-php-fpm/) docker image.
#### Versioning
| Docker Tag | Git Branch | Craft Release | Database | Caching |
|-----|-------|-----|--------|--------|
| latest | craft3 | 3.0.33 | PostgreSQL 10.6 | Redis 4.0.11 |
| craft2 | craft2 | 2.7.4 | MariaDB 10.3.11 | Redis 4.0.11 |
| latest | craft3 | 3.1.15 | PostgreSQL 10.7 | Redis 5.0.3 |
| craft2 | craft2 | 2.7.5 | MariaDB 10.4.3 | Redis 4.0.13 |
Features:
- Nginx 1.15.x, PHP-FPM 7.2.x, Git 2.11.0
- Nginx 1.15.x, PHP-FPM 7.3.x, Git 2.11.0
- imageMagick image manipulation library
## Clone repo and run
To run, clone the git repo and run `docker-compose up`:
#### Craft 3 - [![version craft3](https://img.shields.io/badge/version-craft3-blue.svg)](https://craftcms.com/3) [![](https://images.microbadger.com/badges/image/wyveo/craftcms-docker:craft3.svg)](https://microbadger.com/images/wyveo/craftcms-docker:craft3 "Get your own image badge on microbadger.com")
#### [![version craft3](https://img.shields.io/badge/version-Craft%203-red.svg?&style=for-the-badge)](https://craftcms.com/3) [![](https://img.shields.io/microbadger/image-size/wyveo/craftcms-docker/craft3.svg?&style=for-the-badge)](https://microbadger.com/images/wyveo/craftcms-docker) [![](https://img.shields.io/microbadger/layers/wyveo/craftcms-docker/craft3.svg?&style=for-the-badge)](https://microbadger.com/images/wyveo/craftcms-docker)
```
$ git clone https://github.com/wyveo/craftcms-docker.git
$ cd craftcms-docker
......@@ -23,7 +23,7 @@ $ sudo docker-compose up -d
navigate to `http://<HOSTNAME>/index.php?p=admin` to begin installing Craft 3.
NOTE: if the above url doesn't work, try navigating to `http://<HOSTNAME>/admin/install` instead.
#### Craft 2 - [![version craft2](https://img.shields.io/badge/version-craft2-blue.svg)](https://craftcms.com) [![](https://images.microbadger.com/badges/image/wyveo/craftcms-docker:craft2.svg)](https://microbadger.com/images/wyveo/craftcms-docker:craft2 "Get your own image badge on microbadger.com")
#### [![version craft2](https://img.shields.io/badge/version-Craft%202-red.svg?&style=for-the-badge)](https://craftcms.com/2) [![](https://img.shields.io/microbadger/image-size/wyveo/craftcms-docker/craft2.svg?&style=for-the-badge)](https://microbadger.com/images/wyveo/craftcms-docker) [![](https://img.shields.io/microbadger/layers/wyveo/craftcms-docker/craft2.svg?&style=for-the-badge)](https://microbadger.com/images/wyveo/craftcms-docker)
```
$ git clone -b craft2 --single-branch https://github.com/wyveo/craftcms-docker.git
$ cd craftcms-docker
......
......@@ -32,7 +32,7 @@ services:
DB_PASS: secret
mariadb:
image: mariadb:10.3.11
image: mariadb:10.4.3
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: craft
......@@ -43,6 +43,6 @@ services:
- mariadb-data:/var/lib/mysql/data
redis:
image: redis:4.0.11-alpine
image: redis:4.0.13-alpine
volumes:
- /data:/data