Commit Graph

21 Commits

Author SHA1 Message Date
Nicolas Maillat
62e44715b6 PHRAS-4100 Php upload tmp directory (#4553)
* adding PHP_UPLOAD_TMP_DIR

* ready for QA

* clean in fpm entrypoint

* leave php upload_tmp_dir in /tmp for workers

* keep only PHP_UPLOAD_TMP_DIR env in fpm and setup containers
2024-10-10 18:14:46 +02:00
moctardiouf
50ca67433f PHRAS-4053 redis native session (#4505)
* PHRASEANET_USER_SESSION_LIFETIME as php session.gc_maxlifetime

* dissociate PHRASEANET_SESSION_TYPE and php SESSION_SAVE_HANDLER
2024-04-29 19:05:08 +02:00
Nicolas Maillat
d776d3d71b PHRAS-4022 setup optim (#4467)
* exclude www/thumbnails of chown

* Update entrypoint.sh
2024-02-02 18:27:59 +01:00
Aina Sitraka
d6c21faac0 PHRAS-4019: Session expires with the php default value (#4466)
* fix param in function

* docker - add session management variables

* docker - fix setup entrypoint error

---------

Co-authored-by: Moctar <diouf@alchemy.fr>
2024-02-02 16:02:06 +01:00
Aina Sitraka
71ef4bf1dd PHRAS-4011 : Moving cmd from console to setup - system:clear-cache system:clear-session (#4460)
* cmd clear cache in bin/setup

* Change maintenance state wording
2024-01-22 10:34:13 +01:00
moctardiouf
5c16396d98 PHRAS-3993-fix-maintenance-mode : set as function (#4453)
* PHRAS-3993-fix-maintenance-mode : set as function

* PHRAS-3993-fix-maintenance-mode : remove comments

* PHRAS-3993 add custom maintenace message

* PHRAS-3993 update env file

* PHRAS-3993 add maintenance message exemple to .env

* Update .env

* Update .env documentation

* Change http api error code

---------

Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
2024-01-04 17:49:30 +01:00
Nicolas Maillat
03d129a329 PHRAS-3997 clear cache before play upgrade (#4451)
* clear cache before play upgrade

* clear session
2023-12-21 15:38:00 +01:00
Nicolas Maillat
02b0445fb4 PHRAS-3991: pre upgrade backup WIP (#4445)
* PHRAS-3991: pre upgrade backup WIP

* wip

* gz option
2023-12-16 11:42:29 +01:00
Nicolas Maillat
670f8601a0 PHRAS-3945 download async config change (#4423)
* PHRAS-3945 change deployment for download async mode and pusher

* wip

* Missing var in setup container - WIP

* quiet option for sensitives values
2023-11-30 13:46:16 +01:00
jygaulier
7d703b690f PHRAS-3928_download_async WIP ok to test (#4386)
* WIP/POC DO NOT MERGE
use "pusher" to wait for export-by-email worker to tell client that export is done.
nb: export worker is artificially delayed by 30s !

* WIP OK TO TEST ; DO NOT MERGE

* WIP/POC DO NOT MERGE
use "pusher" to wait for export-by-email worker to tell client that export is done.
nb: export worker is artificially delayed by 30s !

* WIP OK TO TEST ; DO NOT MERGE

* cleanup

* cleanup

* better conf & cleanup

* fix typo

* fix stamp transparency (bump imagine)
fix missing cgu for one file download
better cli feedback
add (re)download link on cli

* fix test

* fix missing js feedback (when worker publish before client subscribes)

* cleanup

* fix "remove stamp" choice

* add default conf

* WIP/POC DO NOT MERGE
use "pusher" to wait for export-by-email worker to tell client that export is done.
nb: export worker is artificially delayed by 30s !

* WIP OK TO TEST ; DO NOT MERGE

* WIP/POC DO NOT MERGE
use "pusher" to wait for export-by-email worker to tell client that export is done.
nb: export worker is artificially delayed by 30s !

* WIP OK TO TEST ; DO NOT MERGE

* cleanup

* cleanup

* better conf & cleanup

* fix typo

* fix stamp transparency (bump imagine)
fix missing cgu for one file download
better cli feedback
add (re)download link on cli

* fix test

* fix missing js feedback (when worker publish before client subscribes)

* cleanup

* fix "remove stamp" choice

* add default conf

* WIP OK TO TEST generates an excel report for async download.
define some env-vars for Pusher (todo: fix entrypoint to add during install)

* fix xl formating for tabs >1
add env_vars to config build

* fix test
2023-10-30 15:08:55 +01:00
moctardiouf
2c56cff4cd PHRAS-3387 php fpm optimization (#4364)
* set different variables for cli and fpm memory limit

* PHRAS-3387 set fpm variables for pm optimization
2023-08-10 16:10:59 +02:00
Nicolas Maillat
8d868c3297 PHRAS-3860 Sync phraseanet root account info (#4331)
* user edit command

* PHRAS-3859 set defaut fastcgi-https to off

* PHRAS-3859 fix typo and explain

* edit lastname, firstname, company

* fix

* sync Phraseanet root account

* Update entrypoint.sh

* fix test install

---------

Co-authored-by: aynsix <asr@esokia-webagency.com>
Co-authored-by: Moctar <diouf@alchemy.fr>
2023-07-07 09:42:01 +02:00
Nicolas Maillat
faf179681a chown ftp (#4287) 2023-03-24 20:43:53 +01:00
Nicolas Maillat
82e857aa15 PHRAS-3821 chown cache repo (#4274)
* chown cache for plugins
2023-03-16 08:21:29 +01:00
Nicolas Maillat
1f1d3b901e PHRAS-3821 chown re-organistion between setup and fpm and worker- wip (#4261)
PHRAS-3821 : chown are now only executed by "setup" container
2023-03-08 17:30:33 +01:00
Aina Sitraka
0339fa1b78 PHRAS-3798 bin/setup - system:config set - return sensitive credential on stdout (#4247)
* system:config use quiet option

* remove -q from some properties

* remove debug auto-install.sh
2023-02-16 15:57:36 +01:00
moctardiouf
a3e35dbdcd PHRAS-3726 docker env change server_name to hostname and add scheme://hostname:port (#4133)
* PHRAS-3726 change server_name to hostname and add scheme://hostname:port

* PHRAS-3726 allow base url changing during setup
2022-09-16 19:58:47 +02:00
moctardiouf
a3f811546f PHRAS-3736 managed services variables (#4128)
* PHRAS-3736 setting phraseanet application cache for managed services

* PHRAS-3736 removing rabbitmq config from auto-install

* PHRAS-3736 setting elasticsearch params for managed services

* PHRAS-3736 setting elasticsearch params for managed services - fix variale

* PHRAS-3736 setting database params for managed services
2022-09-13 13:25:47 +02:00
moctardiouf
ba5eab7ae0 PHRAS-3734 add maintenance mode to stack (#4122) 2022-09-09 00:57:36 +02:00
moctardiouf
3d2a4c756b PHRAS-3657 Phraseanet Setup helm job (#4101)
* set upgrade and redis session variables [SKIP CI]

* set update readme [SKIP CI]

* update templates [SKIP CI]

* set imagepullsecrets default value to falsewq [SKIP CI]

* PHRAS-3657 fix missing config sub dirs [SKIP CI]

* Update readme
2022-07-21 19:11:34 +02:00
Nicolas Maillat
8e429493a2 PHRAS-3657 Move phraseanet install and setup (#4073)
* PHRAS-3657 Move phraseanet install and setup in a new container wip [SKIP CI]

* PHRAS-3657 add redis php configuration

* change restart mode for setup  [SKIP CI]

* .env update [SKIP CI]

* adding redis session service [SKIP CI]

Co-authored-by: Moctar <diouf@alchemy.fr>
2022-07-19 11:39:36 +02:00