Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wiledal/docker-craft-headless

A docker-compose setup with Apache, php 7, Craft 3, Compose and pre-defined plugins for headless
https://github.com/wiledal/docker-craft-headless

Last synced: about 1 month ago
JSON representation

A docker-compose setup with Apache, php 7, Craft 3, Compose and pre-defined plugins for headless

Awesome Lists containing this project

README

        


Docker + Craft 3 + Headless



🐋📝³🚫😶



> A boilerplate docker-compose project

## Includes
- Based on the `php:7-apache` image
- Preinstalling `composer`
- Setting up some php extensions and adding optimizations for `Craft` runtime
- Including two plugins for `headless`
- One line setup 🚀

## Why
Craft 3 is a neat CMS. It's as if WordPress and all of the plugins that make WordPress useful had a combined baby together.

## Setup
To set up the containers and install all dependencies, run the following
```sh
docker-compose run app bash -c "composer install"; docker-compose down;
```

## Run
Start app and db with
```sh
docker-compose up
```

#### First time run
Navigate to
http://localhost:8080/admin/install, follow the instructions.