File tree Expand file tree Collapse file tree
DOCUMENTATION/themes/hugo-material-docs
static/stylesheets/highlight Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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>-->
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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+ }
Original file line number Diff line number Diff line change 1- FROM golang
1+ FROM zuohuadong/caddy:alpine
2+
23
34MAINTAINER 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
1614EXPOSE 80 443 2015
1715
Original file line number Diff line number Diff line change 1+ version : " 2"
2+
3+ services :
4+
5+ # ## Applications Code Container #############################
6+
7+ applications :
8+ volumes :
9+ - ${APPLICATION}:/var/www
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 77
88CHANGE_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
100108PHP_FPM_INSTALL_AEROSPIKE=false
101109PHP_FPM_INSTALL_MYSQLI=false
102110PHP_FPM_INSTALL_PGSQL=false
103- PHP_FPM_INSTALL_POSTGRES=false
104111PHP_FPM_INSTALL_TOKENIZER=false
105112PHP_FPM_INSTALL_INTL=false
106113PHP_FPM_INSTALL_GHOSTSCRIPT=false
Original file line number Diff line number Diff 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
6464elif [ " $1 " == " down" ]; then
6565 print_style " Stopping Docker Compose\n" " info"
Original file line number Diff line number Diff line change @@ -54,9 +54,7 @@ ENV PUID ${PUID}
5454ENV PGID ${PGID}
5555
5656RUN 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
687685USER root
688686RUN 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
693690WORKDIR /var/www
You can’t perform that action at this time.
0 commit comments