Skip to content

petehalverson/october-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Utilities Plugin

AspenDigital.Docker

An October CMS plugin for Docker support.

Background

The Docker image aspendigital/octobercms contains October CMS pre-installed along with all it's dependencies. This plugin is also introduced via the image's Dockerfile to establish a default database (sqlite) for the image.

Establishing a default database for the image allows backend access without any additional setup, expediting testing of plugins, themes, etc.

Also, a database is also currently required for the system build parameters to be set.

Quick Start

To run October CMS using Docker, start a container using our image mapping your local port 80 to the container's port 80:

$ docker run -p80:80 aspendigital/octobercms:latest

Run the container in detached mode using the container name october and launch an interactive shell (bash) for the container.

$ docker run -p80:80 -d --name october aspendigital/octobercms:latest

$ docker exec -it october bash

Learn more

Console commands

A summary of the console commands introduced by this plugin.

docker:up

The docker:up console command is used to establish a default database (sqlite) for our base Docker image aspendigital/octobercms. It is run as a part of our Docker image build process.

Running docker:up also disables October CMS core and edge updates by default. This can be overridden using the --edge option.

Options

--edge: Enable edge updates


docker:edge

The docker:edge console command updates the container's October CMS configuration to enable core and edge updates.

Options

--update: Enable edge updates and automatically run october:update
--disable: Disable edge updates


docker:info

The docker:info console command displays the container's current October CMS build, hash, etc.

About

An October CMS plugin for Docker support

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%