Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
e75da747
Commit
e75da747
authored
Aug 19, 2016
by
Mahmoud Zalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
general clean up
parent
dd48592d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
28 deletions
+11
-28
docker-compose.yml
docker-compose.yml
+6
-21
drupal_8.conf
nginx/sites/framework-examples/drupal_8.conf
+2
-4
laravel.conf
nginx/sites/laravel.conf
+1
-1
site_a.conf
nginx/sites/site_a.conf
+1
-1
xdebugPhpFpm
xdebugPhpFpm
+1
-1
No files found.
docker-compose.yml
View file @
e75da747
...
@@ -8,8 +8,8 @@ services:
...
@@ -8,8 +8,8 @@ services:
build
:
build
:
context
:
./workspace
context
:
./workspace
args
:
args
:
-
INSTALL_MONGO=false
-
INSTALL_XDEBUG=false
-
INSTALL_XDEBUG=false
-
INSTALL_MONGO=false
-
INSTALL_NODE=false
-
INSTALL_NODE=false
-
INSTALL_DRUSH=false
-
INSTALL_DRUSH=false
-
COMPOSER_GLOBAL_INSTALL=false
-
COMPOSER_GLOBAL_INSTALL=false
...
@@ -18,9 +18,7 @@ services:
...
@@ -18,9 +18,7 @@ services:
volumes_from
:
volumes_from
:
-
volumes_source
-
volumes_source
extra_hosts
:
extra_hosts
:
# IMPORTANT: Replace with your Docker Host IP
# IMPORTANT: Replace with your Docker Host IP (will be appended to /etc/hosts)
# this will be appended to /etc/hosts
# Note that this IP can perhaps be better injected via .env
-
"
dockerhost:10.0.75.1"
-
"
dockerhost:10.0.75.1"
tty
:
true
tty
:
true
...
@@ -30,8 +28,8 @@ services:
...
@@ -30,8 +28,8 @@ services:
build
:
build
:
context
:
./php-fpm
context
:
./php-fpm
args
:
args
:
-
INSTALL_MONGO=false
-
INSTALL_XDEBUG=false
-
INSTALL_XDEBUG=false
-
INSTALL_MONGO=false
-
INSTALL_ZIP_ARCHIVE=false
-
INSTALL_ZIP_ARCHIVE=false
-
INSTALL_MEMCACHED=false
-
INSTALL_MEMCACHED=false
-
INSTALL_OPCACHE=false
-
INSTALL_OPCACHE=false
...
@@ -43,15 +41,10 @@ services:
...
@@ -43,15 +41,10 @@ services:
links
:
links
:
-
workspace
-
workspace
extra_hosts
:
extra_hosts
:
# IMPORTANT: Replace with your Docker Host IP
# IMPORTANT: Replace with your Docker Host IP (will be appended to /etc/hosts)
# this will be appended to /etc/hosts
# Note that this IP can perhaps be better injected via .env
-
"
dockerhost:10.0.75.1"
-
"
dockerhost:10.0.75.1"
environment
:
environment
:
# IMPORTANT: You must have a Remote Interpreter entry matching this name
# IMPORTANT: Set the Remote Interpreter entry matching name to `laravel`
# In settings, search for interpreter...
# PHP > Languages & Frameworks > PHP > Interpreter > click on [...]
# Need to have a Remote Interpreter named 'laravel'
-
PHP_IDE_CONFIG="serverName=laravel"
-
PHP_IDE_CONFIG="serverName=laravel"
### Nginx Server Container ##################################
### Nginx Server Container ##################################
...
@@ -221,18 +214,10 @@ services:
...
@@ -221,18 +214,10 @@ services:
build
:
./volumes/application
build
:
./volumes/application
volumes
:
volumes
:
-
../:/var/www/laravel
-
../:/var/www/laravel
# Demonstration of how to mount multiple sites
# By default, site_a and site_b are mirroring the parent Laravel app.
# This is because the nginx container has these domains
# enabled to demonstrate how to support multiple sites
-
../:/var/www/site_a
-
../:/var/www/site_b
# This demonstrates example of where you may mount sites
# - ../../site_a/:/var/www/site_a
# - ../../site_a/:/var/www/site_a
# - ../../site_b/:/var/www/site_b
# - ../../site_b/:/var/www/site_b
### Databases Data Container ################################
### Databases Data Container ################################
volumes_data
:
volumes_data
:
...
...
nginx/sites/framework-examples/drupal_8.conf
View file @
e75da747
server
{
server
{
listen
80
;
listen
80
;
listen
[::]:
80
;
listen
[::]:
80
;
#domain name
#domain name
...
@@ -11,7 +11,6 @@ server {
...
@@ -11,7 +11,6 @@ server {
# This is the full path to your index file
# This is the full path to your index file
index
index
.
php
index
.
html
index
.
htm
;
index
index
.
php
index
.
html
index
.
htm
;
## serve imagecache files directly or redirect to drupal if they do not exist.
## serve imagecache files directly or redirect to drupal if they do not exist.
location
~*
files
/
styles
{
location
~*
files
/
styles
{
access_log
off
;
access_log
off
;
...
@@ -43,7 +42,6 @@ server {
...
@@ -43,7 +42,6 @@ server {
rewrite
^/(.*)$ /
index
.
php
?
q
=$
1
last
;
rewrite
^/(.*)$ /
index
.
php
?
q
=$
1
last
;
}
}
location
@
rewrite
{
location
@
rewrite
{
# Some modules enforce no slash (/) at the end of the URL
# Some modules enforce no slash (/) at the end of the URL
# Else this rewrite block wouldn't be needed (GlobalRedirect)
# Else this rewrite block wouldn't be needed (GlobalRedirect)
...
@@ -56,4 +54,4 @@ server {
...
@@ -56,4 +54,4 @@ server {
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
include
fastcgi_params
;
include
fastcgi_params
;
}
}
}
}
\ No newline at end of file
nginx/sites/laravel.conf
View file @
e75da747
...
@@ -3,7 +3,7 @@ server {
...
@@ -3,7 +3,7 @@ server {
listen
80
default_server
;
listen
80
default_server
;
listen
[::]:
80
default_server
ipv6only
=
on
;
listen
[::]:
80
default_server
ipv6only
=
on
;
server_name
laravel
;
server_name
laravel
;
root
/
var
/
www
/
laravel
/
public
;
root
/
var
/
www
/
laravel
/
public
;
index
index
.
php
index
.
html
index
.
htm
;
index
index
.
php
index
.
html
index
.
htm
;
...
...
nginx/sites/site_a.conf
View file @
e75da747
...
@@ -3,7 +3,7 @@ server {
...
@@ -3,7 +3,7 @@ server {
listen
80
;
listen
80
;
listen
[::]:
80
;
listen
[::]:
80
;
server_name
site_a
;
server_name
site_a
;
root
/
var
/
www
/
site_a
/
public
;
root
/
var
/
www
/
site_a
/
public
;
index
index
.
php
index
.
html
index
.
htm
;
index
index
.
php
index
.
html
index
.
htm
;
...
...
xdebugPhpFpm
View file @
e75da747
#! /bin/bash
#! /bin/bash
# NOTE: At the moment, this has only been confirmed to work PHP 7
# NOTE: At the moment, this has only been confirmed to work
with
PHP 7
# Grab full name of php-fpm container
# Grab full name of php-fpm container
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment