Skip to content

stami-butzbach/docker-octobercms

 
 

Repository files navigation

docker-octobercms based on debian

A Dockerfile that installs the latest octobercms, nginx, mysql, ssh, php-apc and php-fpm on a debian installation.

This is a forked version from eugeneware. All credits go to him.

Installation

$ git clone https://github.com/stami-butzbach/docker-octobercms.git
$ cd docker-octobercms
$ sudo docker build -t="docker-octobercms" .

.. or with docker-composer

$ git clone https://github.com/stami-butzbach/docker-octobercms.git
$ cd docker-octobercms
$ sudo docker-composer up

Usage

To spawn a new instance of octobercms with name myoctober:

$ sudo docker run --name="myoctober" -p 80 -p 22 -d docker-octobercms

Use this name to check the port it's on:

$ sudo docker port myoctober 80 # Make sure to change the name to yours!

This command returns the container external port, which you can use to access OctoberCMS from your host machine:

$ sudo docker port myoctober 80
0.0.0.0:49160

You can the visit the following URL in a browser on your host machine to get started:

http://127.0.0.1:<port>

About

A Dockerfile that installs the latest OctoberCMS, nginx, php-fpm and sshd.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%