Compare commits

..

6 Commits

Author SHA1 Message Date
Mahmoud Zalt
06c4c19a6f replace official neo4j image with tpires/neo4j
because of this wired error
(https://github.com/neo4j/docker-neo4j/issues/33)
2016-05-20 21:21:19 +03:00
Mahmoud Zalt
8bff7656f6 add neo4j support to the readme file 2016-05-20 20:37:00 +03:00
Mahmoud Zalt
5c9eb97db5 Support Neo4j DB (beta) 2016-05-20 20:35:10 +03:00
Mahmoud Zalt
588819ab6d turn errors and access logs on by default for nginx 2016-05-20 20:32:33 +03:00
Mahmoud Zalt
170b63a3ba edit redis volume 2016-05-20 09:26:29 +03:00
Mahmoud Zalt
19813e48c3 add demo video to the readme 2016-05-20 09:24:26 +03:00
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/data
### Nginx Server Container ##################################
@@ -94,6 +95,20 @@ services:
links:
- 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:

7
neo4j/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM tpires/neo4j
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
VOLUME /var/lib/neo4j/data
EXPOSE 7474 1337

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