Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
721e04370f | |||
b569765f82 | |||
1c9596dd80 | |||
c59dea3745 | |||
460b24f7ee | |||
2fc3919598 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
.idea
|
||||
/logs
|
||||
/data
|
||||
.env
|
||||
|
@ -469,7 +469,7 @@ composer create-project laravel/laravel my-cool-app "5.2.*"
|
||||
系统默认LaraDock假定Laravel应用在LaraDock的父级目录中
|
||||
By default LaraDock assumes the Laravel application is living in the parent directory of the laradock folder.
|
||||
|
||||
自新Laravel应用在 `my-cool-app` 目录中, 我们需要用 `../my-cool-app/:/var/www`替换 `../:/var/www` , 如下:
|
||||
更新Laravel应用在 `my-cool-app` 目录中, 我们需要用 `../my-cool-app/:/var/www`替换 `../:/var/www` , 如下:
|
||||
|
||||
```yaml
|
||||
application:
|
||||
|
@ -324,6 +324,13 @@ services:
|
||||
links:
|
||||
- php-fpm
|
||||
|
||||
### Selenium Container #########################################
|
||||
|
||||
selenium:
|
||||
build: ./selenium
|
||||
ports:
|
||||
- "4444:4444"
|
||||
|
||||
### Volumes Setup ###########################################
|
||||
|
||||
volumes:
|
||||
|
5
selenium/Dockerfile
Normal file
5
selenium/Dockerfile
Normal file
@ -0,0 +1,5 @@
|
||||
FROM selenium/standalone-chrome
|
||||
|
||||
MAINTAINER Edmund Luong <edmundvmluong@gmail.com>
|
||||
|
||||
EXPOSE 4444
|
@ -79,7 +79,7 @@ RUN if [ ${COMPOSER_GLOBAL_INSTALL} = true ]; then \
|
||||
#####################################
|
||||
USER root
|
||||
|
||||
COPY ./crontab /var/spool/cron/crontabs
|
||||
COPY ./crontab /etc/cron.d
|
||||
|
||||
#####################################
|
||||
# xDebug:
|
||||
|
1
workspace/crontab/laradock
Normal file
1
workspace/crontab/laradock
Normal file
@ -0,0 +1 @@
|
||||
* * * * * laradock php /var/www/artisan schedule:run >> /dev/null 2>&1
|
@ -1 +0,0 @@
|
||||
* * * * * php /var/www/artisan schedule:run >> /dev/null 2>&1
|
Reference in New Issue
Block a user