Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
06c4c19a6f | |||
8bff7656f6 | |||
5c9eb97db5 | |||
588819ab6d | |||
170b63a3ba | |||
19813e48c3 |
11
README.md
11
README.md
@ -21,6 +21,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
|
|||||||
- [What is Laravel](#what-is-laravel)
|
- [What is Laravel](#what-is-laravel)
|
||||||
- [Why Docker not Vagrant](#why-docker-not-vagrant)
|
- [Why Docker not Vagrant](#why-docker-not-vagrant)
|
||||||
- [LaraDock VS Homestead](#laradock-vs-homestead)
|
- [LaraDock VS Homestead](#laradock-vs-homestead)
|
||||||
|
- [Demo Video](#Demo)
|
||||||
- [Requirements](#Requirements)
|
- [Requirements](#Requirements)
|
||||||
- [Installation](#Installation)
|
- [Installation](#Installation)
|
||||||
- [Usage](#Usage)
|
- [Usage](#Usage)
|
||||||
@ -89,6 +90,7 @@ docker-compose up nginx mysql redis
|
|||||||
- MySQL
|
- MySQL
|
||||||
- PostgreSQL
|
- PostgreSQL
|
||||||
- MariaDB
|
- MariaDB
|
||||||
|
- Neo4j
|
||||||
- Redis
|
- Redis
|
||||||
- Memcached
|
- Memcached
|
||||||
- Beanstalkd
|
- 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>
|
<a name="Installation"></a>
|
||||||
## Installation
|
## Installation
|
||||||
@ -202,7 +207,7 @@ docker-compose up -d nginx mysql
|
|||||||
*Note: the PHP-FPM, Workspace, Application and Data Containers will automatically run.*
|
*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
|
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>
|
<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 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
|
## Credits
|
||||||
|
@ -32,6 +32,7 @@ services:
|
|||||||
- /var/lib/mariadb
|
- /var/lib/mariadb
|
||||||
- /var/lib/redis
|
- /var/lib/redis
|
||||||
- /var/lib/memcached
|
- /var/lib/memcached
|
||||||
|
- /var/lib/neo4j/data
|
||||||
|
|
||||||
### Nginx Server Container ##################################
|
### Nginx Server Container ##################################
|
||||||
|
|
||||||
@ -94,6 +95,20 @@ services:
|
|||||||
links:
|
links:
|
||||||
- php-fpm
|
- php-fpm
|
||||||
|
|
||||||
|
### Neo4j Container #########################################
|
||||||
|
|
||||||
|
neo4j:
|
||||||
|
build: ./neo4j
|
||||||
|
ports:
|
||||||
|
- "7474:7474"
|
||||||
|
- "1337:1337"
|
||||||
|
environment:
|
||||||
|
- NEO4J_AUTH=homestead:secret
|
||||||
|
volumes_from:
|
||||||
|
- data
|
||||||
|
links:
|
||||||
|
- php-fpm
|
||||||
|
|
||||||
### Redis Container #########################################
|
### Redis Container #########################################
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
7
neo4j/Dockerfile
Normal file
7
neo4j/Dockerfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM tpires/neo4j
|
||||||
|
|
||||||
|
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||||
|
|
||||||
|
VOLUME /var/lib/neo4j/data
|
||||||
|
|
||||||
|
EXPOSE 7474 1337
|
@ -17,8 +17,8 @@ http {
|
|||||||
types_hash_max_size 2048;
|
types_hash_max_size 2048;
|
||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
access_log off;
|
access_log on;
|
||||||
error_log off;
|
error_log on;
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_disable "msie6";
|
gzip_disable "msie6";
|
||||||
include /etc/nginx/conf.d/*.conf;
|
include /etc/nginx/conf.d/*.conf;
|
||||||
|
@ -4,6 +4,8 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
|
|
||||||
#COPY redis.conf /usr/local/etc/redis/redis.conf
|
#COPY redis.conf /usr/local/etc/redis/redis.conf
|
||||||
|
|
||||||
|
VOLUME /var/lib/redis
|
||||||
|
|
||||||
CMD [ "redis-server" ]
|
CMD [ "redis-server" ]
|
||||||
|
|
||||||
EXPOSE 6379
|
EXPOSE 6379
|
||||||
|
Reference in New Issue
Block a user