Benjamin Brummer
79647d4f8c
Fix do not delete public folder on container restart
2024-12-02 11:29:40 +01:00
Benjamin Brummer
067b5eb194
remove value, which matches default
2024-12-01 14:53:48 +01:00
Benjamin Brummer
eed358c32b
extended gzip configuration
2024-12-01 14:38:48 +01:00
Benjamin Brummer
71909c73e0
configure chrome during installation
2024-12-01 13:46:58 +01:00
Benjamin Brummer
fab57c9db3
Ensure permissions on volumes are correct
...
mv public directory inside a single RUN to not increase the image
2024-12-01 12:11:57 +01:00
Benjamin Brummer
e7bc565745
Set correct owner, file and directory permissions.
2024-12-01 10:39:40 +01:00
Benjamin Brummer
87092bb8bd
All directories apart of "uploads" exist already
2024-12-01 10:27:06 +01:00
Benjamin Brummer
5abd297c7f
switch to user www-data before running tar. tar -o will set correct ownership afterwards.
2024-12-01 09:48:12 +01:00
Benjamin Brummer
8be252781f
google-chrome only needs to have ownership for /var/www, which is by default owned by root
2024-12-01 09:42:29 +01:00
Benjamin Brummer
22d170a4e5
shrink directory configuration
2024-11-29 13:40:46 +01:00
Benjamin Brummer
f722c91d21
Merge chrome related configuration into one RUN
2024-11-29 11:04:11 +01:00
Benjamin Brummer
641b527702
fix if else
2024-11-29 10:48:14 +01:00
Benjamin Brummer
d139a48303
move google-chrome-stable related apt packages to arm64
2024-11-29 10:26:46 +01:00
benbrummer
a75b6f0a00
Merge branch 'invoiceninja:debian' into debian
2024-11-29 09:45:20 +01:00
David Bomba
b6be06c977
Corrective fixes for new dockerfile
2024-11-29 13:56:46 +11:00
Benjamin Brummer
8204465048
cleanup
2024-11-28 21:35:05 +01:00
benbrummer
9fd35b874d
second try for nginx
...
Signed-off-by: benbrummer <info@benjamin-brummer.de >
2024-11-28 16:18:05 +01:00
benbrummer
fe4993f8a3
set correct mount destination for nginx
...
Signed-off-by: benbrummer <info@benjamin-brummer.de >
2024-11-28 15:50:38 +01:00
Benjamin Brummer
b83fb831b9
- Use default laravel nginx and extend it with invoiceninja -specific settings
...
- Overwrite php.ini/php-fpm.ini settings with customized settings
2024-11-28 14:04:11 +01:00
Benjamin Brummer
687e74c983
Fix: app-1 for supervisor warning redirect_stderr
2024-11-28 10:55:29 +01:00
Benjamin Brummer
7644151370
memory limits are not aligned with php/opcache and cause error 500
2024-11-28 10:26:23 +01:00
Benjamin Brummer
c84f80f9a9
add build context to docker-compose.yml
2024-11-28 10:23:25 +01:00
Benjamin Brummer
6cfdca078f
- Update to php 8.3
...
- Minimal system packages
- additional packages will be handled as dependencies of google-chrome-stable (amd64
- arm64 will still install all apt packages
- "--no-install-recommends" for apt-get
2024-11-28 10:22:05 +01:00
Benjamin Brummer
b3b7f7b9f0
- install saxon with install-php-extensions
...
- replace deprecated apt-key
- artisan optimize will handle caches
2024-11-27 13:01:46 +01:00
David Bomba
a6d8f663ae
Merge pull request #656 from benbrummer/debian
...
Use php.ini-production
2024-11-27 19:27:34 +11:00
Benjamin Brummer
6274c432d9
Fix access for nginx to storage/public
2024-11-26 17:16:09 +01:00
Brandon
f5afd3f527
Revert "Prevents swapping on pdf generation with Chrome"
...
This reverts commit 3ce5983131 .
2024-11-26 16:28:04 +01:00
Brandon
3ce5983131
Prevents swapping on pdf generation with Chrome
...
Increase allowed memory usage of main container from 512M to 1G
This is useful particularly if the server uses a hard drive, which can drastically slow down pdf generation during swap
2024-11-26 16:22:38 +01:00
Brandon
bfc61fb64e
client_max_body_size is a parameter of nginx.conf and not of default.conf ( https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size )
...
add client_body_buffer_size
prevents the following logs: [warn] a client request body is buffered to a temporary file
2024-11-26 16:07:27 +01:00
Benjamin Brummer
535d6d4c06
Refactoring docker-compose.yml
2024-11-26 12:50:59 +01:00
Benjamin Brummer
24d49a4374
refactoring dockerfile
2024-11-26 12:49:12 +01:00
Benjamin Brummer
30ad63f306
Use php.ini-production
2024-11-26 09:46:36 +01:00
David Bomba
d1786100ca
Set home path for PHP when supervisor boots
2024-11-26 08:31:18 +11:00
David Bomba
53cadbf750
Expose storage/ for nginx
2024-11-25 21:38:26 +11:00
David Bomba
7d79b39bc2
Updates for volume mounts
2024-11-25 11:38:39 +11:00
David Bomba
451c1b872f
Add index.html to public/
2024-11-25 09:14:34 +11:00
David Bomba
83f17aa669
Updates for resolving filessystem
2024-11-24 19:56:02 +11:00
David Bomba
9ed63a6762
add storage link
2024-11-24 15:48:15 +11:00
David Bomba
3b0e475de6
Adjustments for permissions
2024-11-24 11:50:13 +11:00
David Bomba
1b62d86659
Fixes for permissions on container init
2024-11-24 08:43:50 +11:00
David Bomba
d05e55a24e
Updates for permission handling in the container
2024-11-23 20:58:56 +11:00
David Bomba
6f92d1c155
Fixes for tar command flags
2024-11-23 19:13:59 +11:00
David Bomba
47b015af7c
More explicity unpacking of .tar file
2024-11-23 19:00:45 +11:00
David Bomba
c6648a8511
Updates for tar extraction
2024-11-23 18:48:09 +11:00
David Bomba
ea8c5fed8e
Fixes for tar command flags
2024-11-23 17:07:00 +11:00
David Bomba
7ddfe8a793
Enforce latest tags
2024-11-23 17:01:28 +11:00
David Bomba
196e66e06d
updates for container
2024-11-23 16:57:44 +11:00
David Bomba
8ff82909c8
Updates for defaults
2024-11-23 14:20:08 +11:00
David Bomba
e5847a6ff1
Conditionally build saxon on amd64
2024-11-23 09:43:28 +11:00
David Bomba
22b2f5416a
fixes for amd64 builds
2024-11-23 08:51:42 +11:00