mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2026-01-19 04:44:06 +01:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c729ef8a48 | ||
|
|
59232e8d22 | ||
|
|
814dd175c7 | ||
|
|
06f723d7dc | ||
|
|
b599ca5905 | ||
|
|
d222163f82 | ||
|
|
d81eb48e55 | ||
|
|
a7f9ed049c | ||
|
|
aec886c9eb | ||
|
|
84efa573f0 | ||
|
|
849fc2365d | ||
|
|
adfa143861 | ||
|
|
b80e842ad7 | ||
|
|
f8550e7e0d | ||
|
|
f775866abf | ||
|
|
85fad200a0 |
2
.github/workflows/publish-image-debian.yaml
vendored
2
.github/workflows/publish-image-debian.yaml
vendored
@@ -23,6 +23,8 @@ jobs:
|
|||||||
VERSION=edge
|
VERSION=edge
|
||||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||||
VERSION=${GITHUB_REF#refs/tags/}
|
VERSION=${GITHUB_REF#refs/tags/}
|
||||||
|
# Remove -o or -d suffix if present
|
||||||
|
VERSION=${VERSION%-*}
|
||||||
fi
|
fi
|
||||||
MAJOR="$(echo "${VERSION}" | cut -d. -f1)"
|
MAJOR="$(echo "${VERSION}" | cut -d. -f1)"
|
||||||
MINOR="$(echo "${VERSION}" | cut -d. -f2)"
|
MINOR="$(echo "${VERSION}" | cut -d. -f2)"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
# Debian Docker for [Invoice Ninja](https://www.invoiceninja.com/)
|
# Debian Docker for [Invoice Ninja](https://www.invoiceninja.com/)
|
||||||
|
|
||||||
:crown: **Features**
|
👑 **Features**
|
||||||
|
|
||||||
NGINX webserver support [NGINX](https://nginx.org/)
|
NGINX webserver support [NGINX](https://nginx.org/)
|
||||||
Built-in Chrome for PDF generation and other features
|
Built-in Chrome for PDF generation and other features
|
||||||
|
|||||||
1
debian/php/php.ini
vendored
1
debian/php/php.ini
vendored
@@ -2,6 +2,7 @@
|
|||||||
; https://www.php.net/manual/en/ini.core.php
|
; https://www.php.net/manual/en/ini.core.php
|
||||||
post_max_size=10M
|
post_max_size=10M
|
||||||
upload_max_filesize=10M
|
upload_max_filesize=10M
|
||||||
|
memory_limit=512M
|
||||||
|
|
||||||
[opcache]
|
[opcache]
|
||||||
; https://www.php.net/manual/en/opcache.installation.php#opcache.installation.recommended
|
; https://www.php.net/manual/en/opcache.installation.php#opcache.installation.recommended
|
||||||
|
|||||||
9
debian/scripts/init.sh
vendored
9
debian/scripts/init.sh
vendored
@@ -10,6 +10,7 @@ fi
|
|||||||
if [ "$*" = 'supervisord -c /etc/supervisor/supervisord.conf' ]; then
|
if [ "$*" = 'supervisord -c /etc/supervisor/supervisord.conf' ]; then
|
||||||
|
|
||||||
# Check for required folders and create if needed
|
# Check for required folders and create if needed
|
||||||
|
[ -d /var/www/html/public ] || mkdir -p /var/www/html/public
|
||||||
[ -d /var/www/html/storage/app/public ] || mkdir -p /var/www/html/storage/app/public
|
[ -d /var/www/html/storage/app/public ] || mkdir -p /var/www/html/storage/app/public
|
||||||
[ -d /var/www/html/storage/framework/sessions ] || mkdir -p /var/www/html/storage/framework/sessions
|
[ -d /var/www/html/storage/framework/sessions ] || mkdir -p /var/www/html/storage/framework/sessions
|
||||||
[ -d /var/www/html/storage/framework/views ] || mkdir -p /var/www/html/storage/framework/views
|
[ -d /var/www/html/storage/framework/views ] || mkdir -p /var/www/html/storage/framework/views
|
||||||
@@ -21,10 +22,14 @@ if [ "$*" = 'supervisord -c /etc/supervisor/supervisord.conf' ]; then
|
|||||||
rm -rf /var/www/html/public/.htaccess \
|
rm -rf /var/www/html/public/.htaccess \
|
||||||
/var/www/html/public/.well-known \
|
/var/www/html/public/.well-known \
|
||||||
/var/www/html/public/*
|
/var/www/html/public/*
|
||||||
mv /tmp/public/* \
|
cp -r /tmp/public/* \
|
||||||
/tmp/public/.htaccess \
|
/tmp/public/.htaccess \
|
||||||
/tmp/public/.well-known \
|
/tmp/public/.well-known \
|
||||||
/var/www/html/public/
|
/var/www/html/public/ &&
|
||||||
|
rm -rf /tmp/public/.htaccess \
|
||||||
|
/tmp/public/.well-known \
|
||||||
|
/tmp/public/*
|
||||||
|
|
||||||
fi
|
fi
|
||||||
echo "Public Folder is up to date"
|
echo "Public Folder is up to date"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user