Commit Graph

58 Commits (d6e307c98bca9fe76918352c715b94a352d86109)

Author SHA1 Message Date
Andrew Dolgov d6e307c98b make .app_is_ready flag a bit later 4 years ago
Andrew Dolgov 68a1202e2e add a hack to send fpm children logs to docker-captured stderr 4 years ago
Andrew Dolgov 2b7c39d76d use one build command with static 4 years ago
Andrew Dolgov 9482589032 reduce amount of layers when building 4 years ago
Andrew Dolgov ac9d233688 remove manual loading of base database schema 4 years ago
Andrew Dolgov e3dd638852 add tokenizer 4 years ago
Andrew Dolgov 2f293c9c59 copy config.php earlier so it gets chown-ed to app:app 4 years ago
Andrew Dolgov 99a7753d92 config.php cleanup 4 years ago
Andrew Dolgov 1db582cab6 cleanup env vars which are at default value 4 years ago
Andrew Dolgov e1aa2daab1 minor fixes 4 years ago
Andrew Dolgov 5a9cac5986 default TTRSS_XDEBUG_PORT if unset (and is debugging enabled) 4 years ago
Andrew Dolgov c03e0f65e7 add optional support for xdebug 4 years ago
Andrew Dolgov 75d1291976 always overvwrite config.php with bundled one on startup 4 years ago
Andrew Dolgov 2e13396bd7 use clean alpine 3.13 base 4 years ago
Andrew Dolgov ce945d6acb hide git warning re: rebase 4 years ago
Andrew Dolgov c1ad950797 initial WIP for php8 4 years ago
Andrew Dolgov ef24fccd6f expect RESTORE_SCHEMA in SCRIPT_ROOT 4 years ago
Andrew Dolgov 7529767f49 move container-related files outside of / 4 years ago
Andrew Dolgov 702dd2841c fix previous 4 years ago
Andrew Dolgov 0cded4bb78 auto update new-style config.php on container boot 4 years ago
Andrew Dolgov fdd507c179 re-enable nginx_xaccel; remove the rest of sed stuff from startup 4 years ago
Andrew Dolgov 5e55651312 silence getenv-based config check 4 years ago
Andrew Dolgov 99323f8665 prefix config.php-related environment variables with TTRSS_ 4 years ago
Andrew Dolgov 16801071fc emit a warning if old-style config.php is detected 4 years ago
Andrew Dolgov 5034a7e2b9 set default false env vars to blank instead of string literal 'false' 4 years ago
Andrew Dolgov a56b3956b2 don't dump env 4 years ago
Andrew Dolgov 828c4180cd pull all set environment variables into app/etc 4 years ago
Andrew Dolgov 5f6651e6f0 initial for env-based setup 4 years ago
Andrew Dolgov 6cccc777d3 build app image with php7-iconv 4 years ago
Andrew Dolgov 80a95f7b30 remove config bak if it exists in DST_DIR 4 years ago
Andrew Dolgov 69bdf5c5df do not create backup config.php when rewriting SELF_URL_PATH 4 years ago
Andrew Dolgov 04a5438966 backups: also backup tt-rss local directories 4 years ago
Andrew Dolgov 707b79b52f add side container which backups tt-rss database once a week
bump alpine image to 3.12
4 years ago
Andrew Dolgov 328984f153 use different CLI syntax for update-schema 4 years ago
Andrew Dolgov d2e8c85f4c update schema on startup 4 years ago
Andrew Dolgov 1eff29a23f increase memory limit for php CLI processes 4 years ago
Andrew Dolgov 3c0599566b apply more sane permissions on cache directories 4 years ago
Ezwen 676ff0d9da Add and enable php7-openssl in the 'app' image 5 years ago
Andrew Dolgov 168b3bdb4e don't set DB_HOST twice, duh 5 years ago
Andrew Dolgov 9101ad6efc don't rely on DB_HOST, DB_TYPE, and DB_PORT set in config.php-dist; set proper values on startup 5 years ago
Andrew Dolgov dff0116139 1. do not crash if git master is not available on startup, but local source exists (use that instead)
2. reduce verbosity of startup scripts
5 years ago
Andrew Dolgov 62f9b960ca include php7-zip in the app image (for data_migration plugin) 5 years ago
Andrew Dolgov efd85e33a4 only create app user if it doesn't exist 5 years ago
Andrew Dolgov e9563c4a87 move app user creation to startup scripts
run fpm as app user
5 years ago
Andrew Dolgov 59eb978976 updater: wait until app container finishes initializing instead of checking for config.php 5 years ago
Andrew Dolgov fa73a498a3 prevent updater from failing repeatedly on first startup while app volume is not ready 5 years ago
krimil 32bd22435f Remove cron update script, add updater service 5 years ago
Andrew Dolgov 9b0a93677d 1. move .env to .env-dist so local customization is not clashing with the
repo
2. rewrite SELF_URL_PATH based on configured value even if config.php
exists
3. update README
5 years ago
Andrew Dolgov 05d341df89 add support for restoring schema on restart (needed only for demo, not normally used) 5 years ago
Andrew Dolgov 9adf705f70 pg_isready: don't try to connect as root 5 years ago