Compare commits

..

5 Commits

5 changed files with 35 additions and 4 deletions

View File

@ -21,6 +21,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
- [What is Laravel](#what-is-laravel)
- [Why Docker not Vagrant](#why-docker-not-vagrant)
- [LaraDock VS Homestead](#laradock-vs-homestead)
- [Demo Video](#Demo)
- [Requirements](#Requirements)
- [Installation](#Installation)
- [Usage](#Usage)
@ -89,6 +90,7 @@ docker-compose up nginx mysql redis
- MySQL
- PostgreSQL
- MariaDB
- Neo4j
- Redis
- Memcached
- Beanstalkd
@ -155,7 +157,10 @@ Running a virtual Container is much faster than running a full virtual Machine.
<a name="Demo"></a>
## Demo Video
What's better than a [**Demo Video**](https://www.youtube.com/watch?v=-DamFMczwDA) :)
<a name="Installation"></a>
## Installation
@ -202,7 +207,7 @@ docker-compose up -d nginx mysql
*Note: the PHP-FPM, Workspace, Application and Data Containers will automatically run.*
Supported Containers: `nginx`, `mysql`, `redis`, `postgres`, `mariadb`, `memcached`, `beanstalkd`, `beanstalkd-console`, `workspace`, `data`, `php-fpm`, `application`.
Supported Containers: `nginx`, `mysql`, `redis`, `postgres`, `mariadb`, `neo4j`, `memcached`, `beanstalkd`, `beanstalkd-console`, `workspace`, `data`, `php-fpm`, `application`.
@ -244,6 +249,8 @@ DB_HOST=xxx.xxx.xxx.xxx
sudo chmod -R 777 storage && sudo chmod -R 777 bootstrap/cache
```
<br>
If you have any problem, or need a special support. Feel free to contact me, more details in the [Help & Questions](#Help) secion.
<br>
@ -801,7 +808,7 @@ To suggest a features or report a bug, open a new [Issue](https://github.com/lar
If you need help with anything related to this project, shedule a live call with me on [Codementor](https://www.codementor.io/mahmoudz), I'd love to help.
If you have a short question, send me a direct message on LaraChat, my username is `mahmoud_zalt`.
If you have a short question, send me a direct message on LaraChat, my username is `mahmoud_zalt`. Or send me an email on `mahmoud@zalt.me`.
## Credits

View File

@ -32,6 +32,7 @@ services:
- /var/lib/mariadb
- /var/lib/redis
- /var/lib/memcached
- /var/lib/neo4j
### Nginx Server Container ##################################
@ -94,6 +95,18 @@ services:
links:
- php-fpm
### Neo4j Container #########################################
neo4j:
build: ./neo4j
ports:
- "7474:7474"
- "7687:7687"
volumes_from:
- data
links:
- php-fpm
### Redis Container #########################################
redis:

9
neo4j/Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM neo4j:3.0
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
VOLUME /var/lib/neo4j
EXPOSE 7474 7687
CMD ["neo4j"]

View File

@ -17,8 +17,8 @@ http {
types_hash_max_size 2048;
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log off;
error_log off;
access_log on;
error_log on;
gzip on;
gzip_disable "msie6";
include /etc/nginx/conf.d/*.conf;

View File

@ -4,6 +4,8 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
#COPY redis.conf /usr/local/etc/redis/redis.conf
VOLUME /var/lib/redis
CMD [ "redis-server" ]
EXPOSE 6379