Skip to content

Commit 8d410e9

Browse files
committed
merge upstream
2 parents a99281c + 9b8d480 commit 8d410e9

9 files changed

Lines changed: 38 additions & 21 deletions

File tree

DOCUMENTATION/themes/hugo-material-docs/layouts/partials/drawer.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<div class="logo">
66
<img src="{{ $.Site.BaseURL }}{{ . }}">
77
</div>
8+
Laradock
89
{{ end }}
910
<!--<div class="name">-->
1011
<!--<strong>{{ .Site.Title }} {{ with .Site.Params.version }}<span class="version">{{ . }}</span>{{ end }}</strong>-->

DOCUMENTATION/themes/hugo-material-docs/layouts/partials/header.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
<div class="button button-github" role="button" aria-label="GitHub">
2222
<a style="padding: 0px; font-size:40px" href="https://github.com/{{ . }}" title="@{{ . }} on GitHub" target="_blank" class="toggle-button icon icon-github"></a>
2323
</div>
24-
<p style="font-size: 18px; padding: 8px">Github</p>
2524
{{ end }}
2625

2726
<!-- TODO: disabled until Hugo supports the generation of a content index natively

DOCUMENTATION/themes/hugo-material-docs/static/stylesheets/highlight/highlight.css

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,17 @@ font-weight:700;
108108
OVERRIDING THE DEFAULT STYLES - By Mahmoud Zalt (mahmoud@zalt.me) for Laradock.io
109109
*/
110110

111-
.project .logo img{
112-
width: 140px;
113-
height: 140px;
111+
112+
.project .logo img {
113+
max-width: 100%;
114+
height: auto;
114115
background: transparent;
115116
border-radius: 0%;
116117
}
118+
119+
.project .banner {
120+
display: flex;
121+
align-items: center;
122+
font-size: 14px;
123+
font-weight: bold;
124+
}

caddy/Dockerfile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
FROM golang
1+
FROM zuohuadong/caddy:alpine
2+
23

34
MAINTAINER Huadong Zuo <admin@zuohuadong.cn>
45

5-
ARG plugins="git"
6+
ARG plugins="cors"
67

7-
## If you come frome china, please ues it.
8+
## ARG plugins="cors cgi cloudflare azure linode"
89

9-
# RUN echo "172.217.6.127 golang.org" >> /etc/hosts
1010

11-
RUN go get github.com/abiosoft/caddyplug/caddyplug \
12-
&& caddyplug install-caddy \
13-
&& caddyplug install git
14-
RUN caddy --version
11+
RUN caddyplug install ${plugins}
12+
1513

1614
EXPOSE 80 443 2015
1715

docker-compose.dev.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
version: "2"
2+
3+
services:
4+
5+
### Applications Code Container #############################
6+
7+
applications:
8+
volumes:
9+
- ${APPLICATION}:/var/www

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ services:
66

77
applications:
88
image: tianon/true
9-
volumes:
10-
- ${APPLICATION}:/var/www
119

1210
### Workspace Utilities Container ###########################
1311

env-example

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77

88
CHANGE_SOURCE=false
99

10+
### Docker compose files ###############################################################################################
11+
# Select which docker-compose files to include.
12+
13+
COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
14+
15+
# Replace the above with the following line if you wish to use docker-sync.
16+
# COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml:docker-compose.sync.yml
17+
1018
### Application Path ###################################################################################################
1119
# Point to your code, will be available at `/var/www`.
1220

@@ -100,7 +108,6 @@ PHP_FPM_INSTALL_EXIF=false
100108
PHP_FPM_INSTALL_AEROSPIKE=false
101109
PHP_FPM_INSTALL_MYSQLI=false
102110
PHP_FPM_INSTALL_PGSQL=false
103-
PHP_FPM_INSTALL_POSTGRES=false
104111
PHP_FPM_INSTALL_TOKENIZER=false
105112
PHP_FPM_INSTALL_INTL=false
106113
PHP_FPM_INSTALL_GHOSTSCRIPT=false

sync.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if [ "$1" == "up" ] ; then
5959

6060
print_style "Initializing Docker Compose\n" "info"
6161
shift # removing first argument
62-
docker-compose -f docker-compose.yml -f docker-compose.sync.yml up -d ${@}
62+
docker-compose up -d ${@}
6363

6464
elif [ "$1" == "down" ]; then
6565
print_style "Stopping Docker Compose\n" "info"

workspace/Dockerfile-71

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ ENV PUID ${PUID}
5454
ENV PGID ${PGID}
5555

5656
RUN groupadd -g ${PGID} laradock && \
57-
useradd -u ${PUID} -g laradock -m laradock && \
58-
apt-get update -yqq && \
59-
apt-get install -y python2.7
57+
useradd -u ${PUID} -g laradock -m laradock
6058

6159
#####################################
6260
# SOAP:
@@ -686,8 +684,7 @@ RUN if [ ${INSTALL_DUSK_DEPS} = true ]; then \
686684
# Clean up
687685
USER root
688686
RUN apt-get clean && \
689-
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
690-
npm config set python /usr/bin/python2.7
687+
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
691688

692689
# Set default work directory
693690
WORKDIR /var/www

0 commit comments

Comments
 (0)