All Projects → atillay → craftcms3-docker

atillay / craftcms3-docker

Licence: other
Get started playing with Craft CMS 3 in a few command lines with Docker

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to craftcms3-docker

Docker Compose Lamp
A basic LAMP stack environment built using Docker Compose.
Stars: ✭ 1,284 (+3466.67%)
Mutual labels:  phpmyadmin
phpmyadmin-authentication-bruteforce
phpMyAdmin Authentication Bruteforce Tool
Stars: ✭ 58 (+61.11%)
Mutual labels:  phpmyadmin
ecommerce
A PHP e-commerce web application.
Stars: ✭ 122 (+238.89%)
Mutual labels:  phpmyadmin
Docker Nginx Php Mysql
Docker running Nginx, PHP-FPM, MySQL & PHPMyAdmin
Stars: ✭ 1,322 (+3572.22%)
Mutual labels:  phpmyadmin
Pma
Simple shell script that installs phpMyAdmin on a Laravel Homestead box.
Stars: ✭ 199 (+452.78%)
Mutual labels:  phpmyadmin
laravel-adminer
Adminer database management tool for your Laravel application.
Stars: ✭ 45 (+25%)
Mutual labels:  phpmyadmin
Vagrant Centos7 Ansible Lamp
Ansible example using Vagrant to deploy Centos7 server with Apache2.4.6, PHP7 (with xdebug), mariaDB5.5 and phpmyadmin to local VM.
Stars: ✭ 41 (+13.89%)
Mutual labels:  phpmyadmin
docker-lemp-stack
Simple Docker LEPM stack
Stars: ✭ 58 (+61.11%)
Mutual labels:  phpmyadmin
Kickoff Docker Php
🐳 🐘 🚀 Easily setup a PHP project with Docker
Stars: ✭ 213 (+491.67%)
Mutual labels:  phpmyadmin
Online-Appointment-Booking-System
An Online Appointment Booking System for Retail Chain Clinics with both the User as well as the Admin Side.
Stars: ✭ 95 (+163.89%)
Mutual labels:  phpmyadmin
Bedrock Docker
Development Setup for Bedrock Wordpress based on Docker
Stars: ✭ 102 (+183.33%)
Mutual labels:  phpmyadmin
Oneinstack
OneinStack - A PHP/JAVA Deployment Tool
Stars: ✭ 1,983 (+5408.33%)
Mutual labels:  phpmyadmin
mySequelWeb
MySequel Web is an open source web based GUI tool to access your MySql database. It is similar to PHP My Admin of WAMP. Here you can access any MySQL database with proper connection strings. We do not save or store any of your connection strings or data. Every thing related to your connection strings are volatile. You can host this as a simple n…
Stars: ✭ 26 (-27.78%)
Mutual labels:  phpmyadmin
Dockerweb
A docker-powered bash script for shared web hosting management. The ultimate Docker LAMP/LEMP Stack.
Stars: ✭ 89 (+147.22%)
Mutual labels:  phpmyadmin
kubernetes-examples
A bunch of examples of how to deploy things on kubernetes
Stars: ✭ 34 (-5.56%)
Mutual labels:  phpmyadmin
Phalcon Vm
Vagrant configuration for PHP7, Phalcon 3.x and Zephir development.
Stars: ✭ 43 (+19.44%)
Mutual labels:  phpmyadmin
freeradius-admin
A web interface for FreeRADIUS with a MySQL backend. Fast and painless configuration with Docker.
Stars: ✭ 30 (-16.67%)
Mutual labels:  phpmyadmin
docker-phpmyadmin
phpMyAdmin as Docker container, based on official image, always latest version
Stars: ✭ 40 (+11.11%)
Mutual labels:  phpmyadmin
c9phplaravel
This script installs PHP 7.3 and required extensions and Laravel in Cloud9
Stars: ✭ 17 (-52.78%)
Mutual labels:  phpmyadmin
ansible-role-phpmyadmin
Ansible Role - phpMyAdmin
Stars: ✭ 40 (+11.11%)
Mutual labels:  phpmyadmin

Craft CMS 3 + Docker

Get started playing with Craft CMS 3 in a few command lines with Docker

About CraftCMS : https://github.com/craftcms
Download Docker : https://www.docker.com/community-edition#/download

🚀 Quickstart

  • Configure env: $ cp .env.example .env
  • Start container: $ docker-compose up -d
  • Enter container: $ docker-compose exec php bash
    • $ composer install
    • $ craft install
Service Path
Website http://localhost:8080
PhpMyAdmin http://localhost:8081
Mail catcher http://localhost:8082
Logs log/

⚠️ Always run commands from container (ex: docker-compose exec php craft or docker-compose exec php composer require guzzlehttp/guzzle)

🆙 Craft update process

  • Get the latest version number : https://github.com/craftcms/cms/releases
  • Change craftcms/cms version in composer.json
  • Start and enter container (cf: Quickstart)
  • Run $ composer update
  • Run $ craft migrate/all

Use a virtual host

  • Run $ sudo nano /etc/hosts and add 127.0.0.1 myhost.local
  • Modify .env and set SITE_URL=myhost.local + CRAFT_PORT=80
  • Run $ docker-compose up
  • If it fails make sure no service like Apache is running on port 80

🐳 Customize PHP or Nginx image

The PHP and Nginx images are host on Docker Hub because first build takes a long time.
You can use volume in docker-compose.yml to override files in images
The docker images sources are available : https://github.com/atillay/docker-images/tree/master/craftcms3

About MySQL credentials

If you change mysql credentials in .env you have to re-create mysql container:

  • Database will be deleted, make a dump with PhpMyAdmin
  • Remove db folder : $ rm -rf docker/db
  • Run : docker-compose up
  • Re-import your database on PhpMyAdmin

Release new version on Docker Hub :
$ docker build -t atillay/craftcms3-php ./docker/php
$ docker push atillay/craftcms3-php

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].