Skip to content

Docker, migrations and other #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
/vendor
/.vagrant
/.vagrant
var/data/
docker-compose.yml
docker/nginx/default.conf
config/depended.php
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Next you have to update your hosts file (usually located at */etc/hosts*), with

172.21.99.6 mydddblog.test www.mydddblog.test redis.mydddblog.test

## Running the application
## Running the application via Vagrant

From the root application folder, run

Expand All @@ -33,3 +33,17 @@ When vagrant finishes bootstraping the VM, open up a browser and go to
**http://www.mydddblog.test**

Have fun!

## Running the application via Docker

Create docker-compose.yml from docker-compose.yml.dist

cp docker-compose.yml.dist docker-compose.yml

Create docker/nginx/default.conf from docker/nginx/default.conf.dist

cp docker/nginx/default.conf.dist docker/nginx/default.conf

Create config/depended.php from config/depended.php.dist

cp config/depended.php.dist config/depended.php
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
"predis/predis": "~0.8",
"predis/service-provider": "~0.4",
"braincrafted/bootstrap-bundle": "dev-master",
"csanquer/pdo-service-provider": "v0.4.0"
"csanquer/pdo-service-provider": "v0.4.0",
"ext-pdo": "*",
"ext-mongo": "*"
},
"require-dev": {
"phpunit/phpunit": "~4.1",
Expand Down
Loading