https://github.com/alexwenzel/docker-octobercms
simple docker setup for october cms
https://github.com/alexwenzel/docker-octobercms
Last synced: 3 months ago
JSON representation
simple docker setup for october cms
- Host: GitHub
- URL: https://github.com/alexwenzel/docker-octobercms
- Owner: alexwenzel
- License: mit
- Created: 2017-12-26T21:02:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-22T21:50:47.000Z (over 6 years ago)
- Last Synced: 2025-01-10T18:27:52.688Z (5 months ago)
- Language: Dockerfile
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# docker: october cms
* https://hub.docker.com/_/php/
* https://hub.docker.com/_/mysql/## getting started
build container
```
docker-compose up -d [--build]
```go to container shell
```
docker exec -it october-www bash
```download the installer
```
curl -s https://octobercms.com/api/installer | php
```then install october cms
```
php artisan o:install
```use the following settings:
Setting | Value
--- | ---
MySQL Host|october-db
Database Name|october
MySQL Login|root
MySQL Password|rootHello october cms :)
http://localhost:8080/
**!! dont forget to dump your mysql data to `data-dump.sql` before your shutdown your docker.**
## mysql
Content from `.docker/mysql/data-dump.sql` will be imported at startup.
## xdebug
Setting | Value
--- | ---
remote_port | 9001
remote_host | 10.0.2.2
idekey | PHPSTORMAnd optional CLI remote debugging:
````
export PHP_IDE_CONFIG="serverName=YOUR-SERVERNAME"
````