merge upstream
This commit is contained in:
commit
8d410e9c82
@ -5,6 +5,7 @@
|
|||||||
<div class="logo">
|
<div class="logo">
|
||||||
<img src="{{ $.Site.BaseURL }}{{ . }}">
|
<img src="{{ $.Site.BaseURL }}{{ . }}">
|
||||||
</div>
|
</div>
|
||||||
|
Laradock
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<!--<div class="name">-->
|
<!--<div class="name">-->
|
||||||
<!--<strong>{{ .Site.Title }} {{ with .Site.Params.version }}<span class="version">{{ . }}</span>{{ end }}</strong>-->
|
<!--<strong>{{ .Site.Title }} {{ with .Site.Params.version }}<span class="version">{{ . }}</span>{{ end }}</strong>-->
|
||||||
|
@ -21,7 +21,6 @@
|
|||||||
<div class="button button-github" role="button" aria-label="GitHub">
|
<div class="button button-github" role="button" aria-label="GitHub">
|
||||||
<a style="padding: 0px; font-size:40px" href="https://github.com/{{ . }}" title="@{{ . }} on GitHub" target="_blank" class="toggle-button icon icon-github"></a>
|
<a style="padding: 0px; font-size:40px" href="https://github.com/{{ . }}" title="@{{ . }} on GitHub" target="_blank" class="toggle-button icon icon-github"></a>
|
||||||
</div>
|
</div>
|
||||||
<p style="font-size: 18px; padding: 8px">Github</p>
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- TODO: disabled until Hugo supports the generation of a content index natively
|
<!-- TODO: disabled until Hugo supports the generation of a content index natively
|
||||||
|
@ -108,9 +108,17 @@ font-weight:700;
|
|||||||
OVERRIDING THE DEFAULT STYLES - By Mahmoud Zalt (mahmoud@zalt.me) for Laradock.io
|
OVERRIDING THE DEFAULT STYLES - By Mahmoud Zalt (mahmoud@zalt.me) for Laradock.io
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.project .logo img{
|
|
||||||
width: 140px;
|
.project .logo img {
|
||||||
height: 140px;
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border-radius: 0%;
|
border-radius: 0%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.project .banner {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
@ -1,17 +1,15 @@
|
|||||||
FROM golang
|
FROM zuohuadong/caddy:alpine
|
||||||
|
|
||||||
|
|
||||||
MAINTAINER Huadong Zuo <admin@zuohuadong.cn>
|
MAINTAINER Huadong Zuo <admin@zuohuadong.cn>
|
||||||
|
|
||||||
ARG plugins="git"
|
ARG plugins="cors"
|
||||||
|
|
||||||
## If you come frome china, please ues it.
|
## ARG plugins="cors cgi cloudflare azure linode"
|
||||||
|
|
||||||
# RUN echo "172.217.6.127 golang.org" >> /etc/hosts
|
|
||||||
|
|
||||||
RUN go get github.com/abiosoft/caddyplug/caddyplug \
|
RUN caddyplug install ${plugins}
|
||||||
&& caddyplug install-caddy \
|
|
||||||
&& caddyplug install git
|
|
||||||
RUN caddy --version
|
|
||||||
|
|
||||||
EXPOSE 80 443 2015
|
EXPOSE 80 443 2015
|
||||||
|
|
||||||
|
9
docker-compose.dev.yml
Normal file
9
docker-compose.dev.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
version: "2"
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
### Applications Code Container #############################
|
||||||
|
|
||||||
|
applications:
|
||||||
|
volumes:
|
||||||
|
- ${APPLICATION}:/var/www
|
@ -6,8 +6,6 @@ services:
|
|||||||
|
|
||||||
applications:
|
applications:
|
||||||
image: tianon/true
|
image: tianon/true
|
||||||
volumes:
|
|
||||||
- ${APPLICATION}:/var/www
|
|
||||||
|
|
||||||
### Workspace Utilities Container ###########################
|
### Workspace Utilities Container ###########################
|
||||||
|
|
||||||
|
@ -7,6 +7,14 @@
|
|||||||
|
|
||||||
CHANGE_SOURCE=false
|
CHANGE_SOURCE=false
|
||||||
|
|
||||||
|
### Docker compose files ###############################################################################################
|
||||||
|
# Select which docker-compose files to include.
|
||||||
|
|
||||||
|
COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
|
||||||
|
|
||||||
|
# Replace the above with the following line if you wish to use docker-sync.
|
||||||
|
# COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml:docker-compose.sync.yml
|
||||||
|
|
||||||
### Application Path ###################################################################################################
|
### Application Path ###################################################################################################
|
||||||
# Point to your code, will be available at `/var/www`.
|
# Point to your code, will be available at `/var/www`.
|
||||||
|
|
||||||
@ -100,7 +108,6 @@ PHP_FPM_INSTALL_EXIF=false
|
|||||||
PHP_FPM_INSTALL_AEROSPIKE=false
|
PHP_FPM_INSTALL_AEROSPIKE=false
|
||||||
PHP_FPM_INSTALL_MYSQLI=false
|
PHP_FPM_INSTALL_MYSQLI=false
|
||||||
PHP_FPM_INSTALL_PGSQL=false
|
PHP_FPM_INSTALL_PGSQL=false
|
||||||
PHP_FPM_INSTALL_POSTGRES=false
|
|
||||||
PHP_FPM_INSTALL_TOKENIZER=false
|
PHP_FPM_INSTALL_TOKENIZER=false
|
||||||
PHP_FPM_INSTALL_INTL=false
|
PHP_FPM_INSTALL_INTL=false
|
||||||
PHP_FPM_INSTALL_GHOSTSCRIPT=false
|
PHP_FPM_INSTALL_GHOSTSCRIPT=false
|
||||||
|
2
sync.sh
2
sync.sh
@ -59,7 +59,7 @@ if [ "$1" == "up" ] ; then
|
|||||||
|
|
||||||
print_style "Initializing Docker Compose\n" "info"
|
print_style "Initializing Docker Compose\n" "info"
|
||||||
shift # removing first argument
|
shift # removing first argument
|
||||||
docker-compose -f docker-compose.yml -f docker-compose.sync.yml up -d ${@}
|
docker-compose up -d ${@}
|
||||||
|
|
||||||
elif [ "$1" == "down" ]; then
|
elif [ "$1" == "down" ]; then
|
||||||
print_style "Stopping Docker Compose\n" "info"
|
print_style "Stopping Docker Compose\n" "info"
|
||||||
|
@ -54,9 +54,7 @@ ENV PUID ${PUID}
|
|||||||
ENV PGID ${PGID}
|
ENV PGID ${PGID}
|
||||||
|
|
||||||
RUN groupadd -g ${PGID} laradock && \
|
RUN groupadd -g ${PGID} laradock && \
|
||||||
useradd -u ${PUID} -g laradock -m laradock && \
|
useradd -u ${PUID} -g laradock -m laradock
|
||||||
apt-get update -yqq && \
|
|
||||||
apt-get install -y python2.7
|
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# SOAP:
|
# SOAP:
|
||||||
@ -686,8 +684,7 @@ RUN if [ ${INSTALL_DUSK_DEPS} = true ]; then \
|
|||||||
# Clean up
|
# Clean up
|
||||||
USER root
|
USER root
|
||||||
RUN apt-get clean && \
|
RUN apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
npm config set python /usr/bin/python2.7
|
|
||||||
|
|
||||||
# Set default work directory
|
# Set default work directory
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www
|
||||||
|
Loading…
Reference in New Issue
Block a user