Compare commits
12 Commits
Author | SHA1 | Date | |
---|---|---|---|
a30bf83269 | |||
1fdf800988 | |||
82cbad75d4 | |||
6111ca5ff7 | |||
b393996d44 | |||
f12028576c | |||
27d3525469 | |||
8b6fdfed76 | |||
3c427d20c0 | |||
57c003722e | |||
ab4c44a434 | |||
0f7969c999 |
@ -195,7 +195,7 @@ What's better than a **Demo Video**:
|
|||||||
|
|
||||||
1 - Clone the `LaraDock` repository:
|
1 - Clone the `LaraDock` repository:
|
||||||
|
|
||||||
**A)** If you already have a Laravel project, clone this repository on your `Laravel` root direcotry:
|
**A)** If you already have a Laravel project, clone this repository on your `Laravel` root directory:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git submodule add https://github.com/LaraDock/laradock.git
|
git submodule add https://github.com/LaraDock/laradock.git
|
||||||
@ -351,7 +351,7 @@ docker-compose down
|
|||||||
2 - enter any container using:
|
2 - enter any container using:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-composer exec {container-name} bash
|
docker-compose exec {container-name} bash
|
||||||
```
|
```
|
||||||
|
|
||||||
*Example: enter MySQL container*
|
*Example: enter MySQL container*
|
||||||
@ -951,7 +951,7 @@ sudo chmod -R 777 storage bootstrap/cache
|
|||||||
|
|
||||||
#### I see "Welcome to nginx" instead of the Laravel App!
|
#### I see "Welcome to nginx" instead of the Laravel App!
|
||||||
|
|
||||||
Use `http://127.0.0.1` (or [your Docker IP](#Find-Docker-IP-Address)) instead of `http://localhost` in your browser.
|
Use `http://127.0.0.1` instead of `http://localhost` in your browser.
|
||||||
|
|
||||||
#### I see an error message containing `address already in use`
|
#### I see an error message containing `address already in use`
|
||||||
|
|
||||||
@ -1006,6 +1006,9 @@ For special help with Docker and/or Laravel, you can schedule a live call with t
|
|||||||
|
|
||||||
**Main Contributors:**
|
**Main Contributors:**
|
||||||
|
|
||||||
|
- [Suteepat (tianissimo)](https://github.com/tianissimo)
|
||||||
|
- [David (davidavz)](https://github.com/davidavz)
|
||||||
|
- [Lialosiu](https://github.com/lialosiu)
|
||||||
- [Eric Pfeiffer (computerfr33k)](https://github.com/computerfr33k)
|
- [Eric Pfeiffer (computerfr33k)](https://github.com/computerfr33k)
|
||||||
- [Orette](https://github.com/orette)
|
- [Orette](https://github.com/orette)
|
||||||
- [Jack Fletcher (Kauhat)](https://github.com/Kauhat)
|
- [Jack Fletcher (Kauhat)](https://github.com/Kauhat)
|
||||||
|
@ -26,6 +26,7 @@ services:
|
|||||||
args:
|
args:
|
||||||
- INSTALL_MONGO=false
|
- INSTALL_MONGO=false
|
||||||
- INSTALL_XDEBUG=false
|
- INSTALL_XDEBUG=false
|
||||||
|
- INSTALL_ZIP_ARCHIVE=false
|
||||||
dockerfile: Dockerfile-70
|
dockerfile: Dockerfile-70
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- volumes_source
|
- volumes_source
|
||||||
|
@ -35,6 +35,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
#
|
#
|
||||||
# - INSTALL_XDEBUG= false
|
# - INSTALL_XDEBUG= false
|
||||||
# - INSTALL_MONGO= false
|
# - INSTALL_MONGO= false
|
||||||
|
# - INSTALL_ZIP_ARCHIVE= false
|
||||||
#
|
#
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
@ -60,6 +61,18 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
|
|||||||
pecl install mongodb \
|
pecl install mongodb \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# ZipArchive:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
ARG INSTALL_ZIP_ARCHIVE=true
|
||||||
|
ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE}
|
||||||
|
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
|
||||||
|
# Install the zip extention
|
||||||
|
pecl install zip \
|
||||||
|
;fi
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Final Touch
|
# Final Touch
|
||||||
|
@ -35,6 +35,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|||||||
#
|
#
|
||||||
# - INSTALL_XDEBUG= false
|
# - INSTALL_XDEBUG= false
|
||||||
# - INSTALL_MONGO= false
|
# - INSTALL_MONGO= false
|
||||||
|
# - INSTALL_ZIP_ARCHIVE= false
|
||||||
#
|
#
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
@ -60,6 +61,18 @@ RUN if [ ${INSTALL_MONGO} = true ]; then \
|
|||||||
pecl install mongodb \
|
pecl install mongodb \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# ZipArchive:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
ARG INSTALL_ZIP_ARCHIVE=true
|
||||||
|
ENV INSTALL_ZIP_ARCHIVE ${INSTALL_ZIP_ARCHIVE}
|
||||||
|
RUN if [ ${INSTALL_ZIP_ARCHIVE} = true ]; then \
|
||||||
|
# Install the zip extention
|
||||||
|
pecl install zip \
|
||||||
|
;fi
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Final Touch
|
# Final Touch
|
||||||
|
@ -2,6 +2,7 @@ date.timezone=UTC
|
|||||||
display_errors=Off
|
display_errors=Off
|
||||||
log_errors=On
|
log_errors=On
|
||||||
extension=mongodb.so
|
extension=mongodb.so
|
||||||
|
extension=zip.so
|
||||||
|
|
||||||
; Maximum amount of memory a script may consume (128MB)
|
; Maximum amount of memory a script may consume (128MB)
|
||||||
; http://php.net/memory-limit
|
; http://php.net/memory-limit
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
# https://hub.docker.com/r/laradock/workspace/tags/
|
# https://hub.docker.com/r/laradock/workspace/tags/
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM laradock/workspace:1.0
|
FROM laradock/workspace:1.1
|
||||||
|
|
||||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||||
|
|
||||||
@ -75,7 +75,7 @@ ARG PUID=1000
|
|||||||
ARG PGID=1000
|
ARG PGID=1000
|
||||||
RUN groupadd -g $PGID laradock && \
|
RUN groupadd -g $PGID laradock && \
|
||||||
useradd -u $PUID -g laradock -m laradock
|
useradd -u $PUID -g laradock -m laradock
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# Composer:
|
# Composer:
|
||||||
#####################################
|
#####################################
|
||||||
@ -102,17 +102,11 @@ RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
|
|||||||
# Check if NVM needs to be installed
|
# Check if NVM needs to be installed
|
||||||
ARG INSTALL_NODE=true
|
ARG INSTALL_NODE=true
|
||||||
ENV INSTALL_NODE ${INSTALL_NODE}
|
ENV INSTALL_NODE ${INSTALL_NODE}
|
||||||
|
ENV NVM_DIR /home/laradock/.nvm
|
||||||
RUN if [ ${INSTALL_NODE} = true ]; then \
|
RUN if [ ${INSTALL_NODE} = true ]; then \
|
||||||
# Install nvm (A Node Version Manager)
|
# Install nvm (A Node Version Manager)
|
||||||
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash \
|
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.3/install.sh | bash && \
|
||||||
;fi
|
. ~/.nvm/nvm.sh && \
|
||||||
# Again check if NVM needs to be installed
|
|
||||||
# I had to split this condition link this because when I get it inside the above if statement is refuses to work!
|
|
||||||
ENV if [ ${INSTALL_NODE} = true ]; then \
|
|
||||||
# Set the ENV
|
|
||||||
NVM_DIR=/home/laradock/.nvm \
|
|
||||||
# Install NodeJS with NVM
|
|
||||||
RUN . ~/.nvm/nvm.sh && \
|
|
||||||
nvm install stable && \
|
nvm install stable && \
|
||||||
nvm use stable && \
|
nvm use stable && \
|
||||||
nvm alias stable && \
|
nvm alias stable && \
|
||||||
|
Reference in New Issue
Block a user