Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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>-->
|
||||||
|
|||||||
@@ -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 {
|
.project .logo img {
|
||||||
width: 140px;
|
max-width: 100%;
|
||||||
height: 140px;
|
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;
|
||||||
|
}
|
||||||
@@ -485,7 +485,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:
|
||||||
|
|||||||
72
env-example
72
env-example
@@ -1,31 +1,47 @@
|
|||||||
############################
|
###########################################################
|
||||||
# General Setup
|
# General Setup
|
||||||
############################
|
###########################################################
|
||||||
|
|
||||||
### Application Path
|
### Application Path ###################################################################################################
|
||||||
# Point to your application code, will be available at `/var/www`.
|
# 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 ##########################################################################################################
|
||||||
|
|
||||||
@@ -299,26 +315,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
|
||||||
@@ -52,7 +55,7 @@ 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 update -yqq && \
|
||||||
apt-get install -y python2.7
|
apt-get install -y python2.7
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
|||||||
Reference in New Issue
Block a user