Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
65a8bbc6a4 | |||
7c1f3060bf | |||
45e1ecf3c0 | |||
c6b1eb016d | |||
c5005f54f7 | |||
cf5b1af31a | |||
8dea201b68 | |||
50a3e24db8 | |||
9835a20863 | |||
5bcb99dfb9 | |||
9877f0453e | |||
ff20333d8c | |||
2fc0f3cb2e | |||
6c3b18340f | |||
de247a074e | |||
176dd74906 | |||
819b1eb3bc | |||
05dd1b0339 | |||
f0401f5047 | |||
be13fdba7f | |||
bd0f04bd80 | |||
f7ac8cf862 | |||
b47963c80d |
@ -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 ###########################
|
||||||
|
|
||||||
@ -485,7 +483,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "5050:5050"
|
- "5050:5050"
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_SAVE_PATH}/pgadmin-backup:/var/lib/pgadmin4/data/storage/pgadmin4
|
- ${DATA_SAVE_PATH}/pgadmin-backup:/var/lib/pgadmin/storage/pgadmin4
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
networks:
|
networks:
|
||||||
|
78
env-example
78
env-example
@ -1,31 +1,52 @@
|
|||||||
############################
|
###########################################################
|
||||||
# General Setup
|
# General Setup
|
||||||
############################
|
###########################################################
|
||||||
|
|
||||||
### Application Path
|
### Docker compose files ###############################################################################################
|
||||||
# Point to your application code, will be available at `/var/www`.
|
# Select which docker-compose files to include.
|
||||||
|
|
||||||
|
COMPOSE_FILE=docker-compose.yml:docker-compose.dev.yml
|
||||||
|
|
||||||
|
### Application Path ###################################################################################################
|
||||||
|
# Point to your code, will be available at `/var/www`.
|
||||||
|
|
||||||
APPLICATION=../
|
APPLICATION=../
|
||||||
|
|
||||||
### Data Path:
|
### PHP Version ########################################################################################################
|
||||||
# For all storage systems.
|
# Select a PHP version of the Workspace and PHP-FPM containers (Does not apply to HHVM). Accepted values: 71 - 70 - 56
|
||||||
|
|
||||||
DATA_SAVE_PATH=~/.laradock/data
|
|
||||||
|
|
||||||
### PHP version
|
|
||||||
# Applies to the Workspace and PHP-FPM containers (Does not apply to HHVM)
|
|
||||||
# Accepted values: 71 - 70 - 56
|
|
||||||
|
|
||||||
PHP_VERSION=71
|
PHP_VERSION=71
|
||||||
|
|
||||||
### PHP interpreter
|
### PHP Interpreter ####################################################################################################
|
||||||
# Accepted values: hhvm - php-fpm
|
# Select the PHP Interpreter. Accepted values: hhvm - php-fpm
|
||||||
|
|
||||||
PHP_INTERPRETER=php-fpm
|
PHP_INTERPRETER=php-fpm
|
||||||
|
|
||||||
############################
|
### Data Path ##########################################################################################################
|
||||||
|
# Choose storage path on your machine. For all storage systems.
|
||||||
|
|
||||||
|
DATA_SAVE_PATH=~/.laradock/data
|
||||||
|
|
||||||
|
### Docker Host IP #####################################################################################################
|
||||||
|
# Enter your Docker Host IP (will be appended to /etc/hosts). Default is `10.0.75.1`
|
||||||
|
|
||||||
|
DOCKER_HOST_IP=10.0.75.1
|
||||||
|
|
||||||
|
### Remote Interpreter #################################################################################################
|
||||||
|
# Choose a Remote Interpreter entry matching name. Default is `laradock`
|
||||||
|
|
||||||
|
PHP_IDE_CONFIG=serverName=laradock
|
||||||
|
|
||||||
|
### Windows Path #######################################################################################################
|
||||||
|
# A fix for Windows users, to ensure the application path works.
|
||||||
|
|
||||||
|
COMPOSE_CONVERT_WINDOWS_PATHS=1
|
||||||
|
|
||||||
|
########################################################################################################################
|
||||||
|
|
||||||
|
###########################################################
|
||||||
# Containers Customization
|
# Containers Customization
|
||||||
############################
|
###########################################################
|
||||||
|
|
||||||
### WORKSPACE ##########################################################################################################
|
### WORKSPACE ##########################################################################################################
|
||||||
|
|
||||||
@ -79,7 +100,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
|
||||||
@ -299,26 +319,4 @@ LARAVEL_ECHO_SERVER_PORT=6001
|
|||||||
|
|
||||||
DOCKER_SYNC_STRATEGY=native_osx
|
DOCKER_SYNC_STRATEGY=native_osx
|
||||||
|
|
||||||
##### TO BE CONTINUE .................................
|
########################################################################################################################
|
||||||
|
|
||||||
# ......... Missing: neo4j mongo rethinkdb redis aerospike pgadmin...
|
|
||||||
# .........
|
|
||||||
# .........
|
|
||||||
|
|
||||||
############################
|
|
||||||
# Miscellaneous
|
|
||||||
############################
|
|
||||||
|
|
||||||
# Replace with your Docker Host IP (will be appended to /etc/hosts)
|
|
||||||
|
|
||||||
DOCKER_HOST_IP=10.0.75.1
|
|
||||||
|
|
||||||
|
|
||||||
# The Remote Interpreter entry matching name `laradock`
|
|
||||||
|
|
||||||
PHP_IDE_CONFIG=serverName=laradock
|
|
||||||
|
|
||||||
|
|
||||||
# Fix for windows users to make sure the application path works.
|
|
||||||
|
|
||||||
COMPOSE_CONVERT_WINDOWS_PATHS=1
|
|
||||||
|
@ -6,6 +6,13 @@ WORKDIR /usr/src/app
|
|||||||
|
|
||||||
# Install app dependencies
|
# Install app dependencies
|
||||||
COPY package.json /usr/src/app/
|
COPY package.json /usr/src/app/
|
||||||
|
|
||||||
|
RUN apk add --update \
|
||||||
|
python \
|
||||||
|
python-dev \
|
||||||
|
py-pip \
|
||||||
|
build-base
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
# Bundle app source
|
# Bundle app source
|
||||||
|
@ -4,7 +4,7 @@ MAINTAINER Huadong Zuo <admin@zuohuadong.cn>
|
|||||||
|
|
||||||
# user: pgadmin4@pgadmin.org
|
# user: pgadmin4@pgadmin.org
|
||||||
# password: admin
|
# password: admin
|
||||||
# pg_dump in "/usr/bin"
|
# pg_dump & postgresql all in "/usr/bin"
|
||||||
# backup in "/var/lib/pgadmin4/data/storage/pgadmin4/"
|
# backup in "/var/lib/pgadmin/storage/pgadmin4"
|
||||||
|
|
||||||
EXPOSE 5050
|
EXPOSE 5050
|
||||||
|
@ -16,6 +16,9 @@ FROM laradock/workspace:1.9-56
|
|||||||
|
|
||||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||||
|
|
||||||
|
# Remove Faillog and Lastlog to reduce the size of the final image.
|
||||||
|
RUN rm /var/log/lastlog /var/log/faillog
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Mandatory Software's Installation
|
# Mandatory Software's Installation
|
||||||
|
@ -16,6 +16,9 @@ FROM laradock/workspace:1.9-70
|
|||||||
|
|
||||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||||
|
|
||||||
|
# Remove Faillog and Lastlog to reduce the size of the final image.
|
||||||
|
RUN rm /var/log/lastlog /var/log/faillog
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Mandatory Software's Installation
|
# Mandatory Software's Installation
|
||||||
|
@ -16,6 +16,9 @@ FROM laradock/workspace:1.9-71
|
|||||||
|
|
||||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
||||||
|
|
||||||
|
# Remove Faillog and Lastlog to reduce the size of the final image.
|
||||||
|
RUN rm /var/log/lastlog /var/log/faillog
|
||||||
|
|
||||||
#
|
#
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
# Mandatory Software's Installation
|
# Mandatory Software's Installation
|
||||||
@ -51,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:
|
||||||
@ -683,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
|
||||||
|
Reference in New Issue
Block a user