Conversation
…erfom crontab changes in image and delete cron volume
|
Also I suggest not calling envs in cron jobs. We call envs from .main.env before and I suggest .env now. |
|
You may change passwords in .env to "docker". At least for working now. |
|
Changes in crontab/crontab probably you may change in docker image too and remove string in docker-compose file in volumes section. |
|
I like the idea of moving those environmental values like that within the .env file, but your solution overall has some issues. In order to consider merging it, there are few changes you have to make. I made a branch out of your branch with changes that makes it work - 1.x...qwerty1q2w-dev
it wont contain the environemntals started with the CRON container. and running cron jobs using that file: If you merge my changes into your PR branch (or do it somewhat alike), we can test it porperly here and possibly put it into 1.x release. |
|
My attempts. Errors in .env with $ is normal behavior. You can use a $$ (double-dollar sign) when your configuration needs a literal dollar sign. |
|
Hello, i wanted to point out that modifying thats why in the other pull request, i had to make an entrypoint for cron container where i "initialize" the updated crontab file: 1f3bc4e#diff-aecca9bd4875b79b177e8af0a3e93388c3b188ec97daeebce66f42126ae4f52bR9 lets continue with the other PR (#26) |
|
Im closing this in favour of #26 |



Hello! I suggest to use variables in code and configs.
But anyway I see errors with c hard-coded values
At least in cron container
/var/www/eramba/app/upgrade/logs/cli-error.log:#0 /var/www/eramba/app/upgrade/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/PdoAdapter.php(84): PDO->__construct('mysql:host=mysq...', 'docker', 'docker', Array)