Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wiledal/docker-craft-headless
- Owner: wiledal
- Created: 2018-10-23T20:09:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-15T16:48:03.000Z (almost 4 years ago)
- Last Synced: 2024-10-17T00:22:37.019Z (3 months ago)
- Language: PHP
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
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.