File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 11# -------------------------------------------
22# Docker Compose
33# @RobLandry
4- # Original Repo : https://gitlab.landry.me/
4+ # Repo : https://github.com/LycheeOrg/Lychee-Laravel-Docker
55# -------------------------------------------
66
77version : ' 3'
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- echo " **** Starting the Entrypoint Script ****"
43set -e
54
5+ # Read Last commit hash from .git
6+ # This prevents installing git, and allows display of commit
7+ read -r longhash < /var/www/html/Lychee-Laravel/.git/refs/heads/master
8+ shorthash=$( echo $longhash | cut -c1-7)
9+
10+ echo '
11+ -------------------------------------
12+ _ _
13+ | | _ _ ___| |__ ___ ___
14+ | | | | | |/ __| _ \ / _ \/ _ \
15+ | |__| |_| | (__| | | | __/ __/
16+ |_____\__, |\___|_| |_|\___|\___|
17+ | | |___/ _ __ __ ___ _____| |
18+ | | / _' \' ' | ' \' ' __/ _' \' ' \ \ / / _ \ |
19+ | |__| (_| | | | (_| |\ V / __/ |
20+ |_____\__,_|_| \__,_| \_/ \___|_|
21+
22+ -------------------------------------
23+ Latest Commit: ' $shorthash '
24+ https://github.com/LycheeOrg/Lychee-Laravel/commit/' $longhash '
25+ -------------------------------------'
26+
627echo " **** Make sure the /conf and /uploads folders exist ****"
728[ ! -f /conf ] && \
829 mkdir -p /conf
You can’t perform that action at this time.
0 commit comments