Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leocavalcante/docktober
🍂 Simple: Docker + OctoberCMS
https://github.com/leocavalcante/docktober
docker laravel octobercms
Last synced: 19 days ago
JSON representation
🍂 Simple: Docker + OctoberCMS
- Host: GitHub
- URL: https://github.com/leocavalcante/docktober
- Owner: leocavalcante
- Created: 2016-07-28T18:58:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-05-25T11:33:08.000Z (over 2 years ago)
- Last Synced: 2024-10-03T10:50:40.189Z (about 1 month ago)
- Topics: docker, laravel, octobercms
- Homepage:
- Size: 20.5 KB
- Stars: 57
- Watchers: 6
- Forks: 19
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docktober
### Simple: [Docker](https://www.docker.com/) + [OctoberCMS](http://octobercms.com/)[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E4F45BFVMFVQW)
#### It uses the:
- official [mysql:5.7 image](https://hub.docker.com/_/mysql/) as database (but you can change to pgsql for example),
- official [php:fpm image](https://hub.docker.com/_/php/) to run PHP over [FastCGI](https://en.wikipedia.org/wiki/FastCGI)
- and the official Apache [httpd image](https://hub.docker.com/_/httpd/) as web/proxy server.#### How to
##### From scratch
1. `git clone https://github.com/octobercms/october.git my-app`
2. `cd my-app`
3. `git clone https://github.com/leocavalcante/Docktober.git .docker`
4. `docker-compose -f .docker/docker-compose.yml up -d --build`
5. `docker-compose -f .docker/docker-compose.yml exec php composer install`Here you should already be seeing October's demo theme at `http://:8000`.
And you can work with it as a [flat-file CMS](https://vimeo.com/172202661).##### If you want some database power
1. `docker-compose -f .docker/docker-compose.yml exec php php artisan october:env`
2. Set `.env`'s `DB_HOST` to `db` and add some value for `DB_PASSWORD`
3. `docker-compose -f .docker/docker-compose.yml up -d --build`
4. `docker-compose -f .docker/docker-compose.yml exec php php artisan october:up`Now you should be able to access `http://:8000/backend` and enjoy full OctoberCMS.
**Recommendation:** rename [`container_name`](https://docs.docker.com/compose/compose-file/#/container-name) at `.docker/docker-compose.yml` to something meaningful.