Commit Graph

76 Commits

Author SHA1 Message Date
Andrew Dolgov 959e07700f
set random password for admin on first startup unless ADMIN_USER_PASS is set 2022-06-10 22:34:16 +03:00
Andrew Dolgov 4326aa8d32
updater: unset PASS variables 2022-06-10 18:21:12 +03:00
Andrew Dolgov 04499dc0a9
Merge branch 'master' of git.tt-rss.org:fox/ttrss-docker-compose 2022-06-10 17:55:47 +03:00
Andrew Dolgov e472670de7
* add environment variable to add initial users on startup
* list supported environment variables in .env-dist
2022-06-10 17:54:00 +03:00
Andrew Dolgov ab8f1c5420 * temporarily add more startup debugging
* adjust chown ordering a bit
2022-05-22 09:23:25 +03:00
Andrew Dolgov cc648eb878 * perform all operations on git repositories under 'app' user
* initially clone master repo with --depth 1 to reduce first startup time
 * only check updates for actual git repos in plugins.local/
2022-05-21 20:02:42 +03:00
Andrew Dolgov 95ac4a70f9 revise previous (again) 2022-04-10 07:48:58 +03:00
Andrew Dolgov 46a7d19374 revise previous 2022-04-10 07:47:24 +03:00
Andrew Dolgov 731725fb4e make PHP worker process and memory limits configurable 2022-04-10 07:40:29 +03:00
Andrew Dolgov 219913d12b updater: force adding user/group even if GID/UID is duplicate 2022-02-20 12:52:21 +03:00
Andrew Dolgov c552bb48c9 * force adding user/group even if GID/UID is duplicate
* allow running FPM as root, if needed
2022-02-17 17:30:54 +03:00
Andrew Dolgov 283c221fff don't try to update base tt-rss source when updating plugins.local 2021-11-19 09:32:03 +03:00
Andrew Dolgov d9b96dc114 switch base image to alpine 3.14 2021-11-19 09:20:32 +03:00
Andrew Dolgov bd0c7ebf0e update all local plugins on startup, unless forbidden by TTRSS_NO_STARTUP_PLUGIN_UPDATES 2021-11-18 18:59:16 +03:00
Andrew Dolgov 3c30e41606 run update-ca-certificates on container startup 2021-08-23 10:14:54 +03:00
Andrew Dolgov ab100cd2db Revert "add workaround for slow podman internal dns resolver"
This reverts commit 3c31de3427.

should use "dns_search: dns.podman" in the override instead

https://github.com/containers/podman/issues/9169#issuecomment-807417455
2021-03-26 20:51:20 +03:00
Andrew Dolgov 3c31de3427 add workaround for slow podman internal dns resolver 2021-03-26 14:10:51 +03:00
Andrew Dolgov 063ed46d91 add php8-exif 2021-03-10 18:03:39 +03:00
Andrew Dolgov d6e307c98b make .app_is_ready flag a bit later 2021-03-07 12:26:13 +03:00
Andrew Dolgov 68a1202e2e add a hack to send fpm children logs to docker-captured stderr 2021-03-07 10:32:46 +03:00
Andrew Dolgov 2b7c39d76d use one build command with static 2021-03-05 13:56:31 +03:00
Andrew Dolgov 9482589032 reduce amount of layers when building 2021-03-05 13:50:55 +03:00
Andrew Dolgov ac9d233688 remove manual loading of base database schema 2021-03-04 09:28:32 +03:00
Andrew Dolgov e3dd638852 add tokenizer 2021-03-03 19:16:16 +03:00
Andrew Dolgov 2f293c9c59 copy config.php earlier so it gets chown-ed to app:app 2021-02-25 19:31:24 +03:00
Andrew Dolgov 99a7753d92 config.php cleanup 2021-02-23 00:05:49 +03:00
Andrew Dolgov 1db582cab6 cleanup env vars which are at default value 2021-02-22 23:57:29 +03:00
Andrew Dolgov e1aa2daab1 minor fixes 2021-02-22 23:48:14 +03:00
Andrew Dolgov 5a9cac5986 default TTRSS_XDEBUG_PORT if unset (and is debugging enabled) 2021-02-22 12:50:15 +03:00
Andrew Dolgov c03e0f65e7 add optional support for xdebug 2021-02-22 12:13:20 +03:00
Andrew Dolgov 75d1291976 always overvwrite config.php with bundled one on startup 2021-02-08 18:32:19 +03:00
Andrew Dolgov 2e13396bd7 use clean alpine 3.13 base 2021-02-08 08:18:17 +03:00
Andrew Dolgov ce945d6acb hide git warning re: rebase 2021-02-05 23:23:57 +03:00
Andrew Dolgov c1ad950797 initial WIP for php8 2021-02-05 20:07:28 +03:00
Andrew Dolgov ef24fccd6f expect RESTORE_SCHEMA in SCRIPT_ROOT 2021-02-02 14:01:07 +03:00
Andrew Dolgov 7529767f49 move container-related files outside of / 2021-02-02 11:28:52 +03:00
Andrew Dolgov 702dd2841c fix previous 2021-02-01 21:44:51 +03:00
Andrew Dolgov 0cded4bb78 auto update new-style config.php on container boot 2021-02-01 21:43:23 +03:00
Andrew Dolgov fdd507c179 re-enable nginx_xaccel; remove the rest of sed stuff from startup 2021-02-01 10:30:31 +03:00
Andrew Dolgov 5e55651312 silence getenv-based config check 2021-02-01 08:51:47 +03:00
Andrew Dolgov 99323f8665 prefix config.php-related environment variables with TTRSS_ 2021-02-01 08:42:05 +03:00
Andrew Dolgov 16801071fc emit a warning if old-style config.php is detected 2021-01-31 21:31:35 +03:00
Andrew Dolgov 5034a7e2b9 set default false env vars to blank instead of string literal 'false' 2021-01-31 15:56:45 +03:00
Andrew Dolgov a56b3956b2 don't dump env 2021-01-31 15:29:15 +03:00
Andrew Dolgov 828c4180cd pull all set environment variables into app/etc 2021-01-31 15:26:19 +03:00
Andrew Dolgov 5f6651e6f0 initial for env-based setup 2021-01-31 15:05:50 +03:00
Andrew Dolgov 6cccc777d3 build app image with php7-iconv 2021-01-27 07:52:37 +03:00
Andrew Dolgov 80a95f7b30 remove config bak if it exists in DST_DIR 2020-10-11 09:30:27 +03:00
Andrew Dolgov 69bdf5c5df do not create backup config.php when rewriting SELF_URL_PATH 2020-10-11 09:09:20 +03:00
Andrew Dolgov 04a5438966 backups: also backup tt-rss local directories 2020-09-30 14:59:00 +03:00