Commit Graph

61 Commits (mariadb-unsupported)

Author SHA1 Message Date
Andrew Dolgov b98b4350fd
merge missing options from master branch
Andrew Dolgov a3aa0195c9 Revert "add workaround for slow podman internal dns resolver"
This reverts commit c50ed4ca5b.
Andrew Dolgov 981c673ab6 Merge branch 'mariadb-unsupported' of git.tt-rss.org:fox/ttrss-docker-compose into mariadb-unsupported
Andrew Dolgov c50ed4ca5b add workaround for slow podman internal dns resolver
Andrew Dolgov 2bf82c3f60 Merge branch 'mariadb-unsupported' of git.tt-rss.org:fox/ttrss-docker-compose into mariadb-unsupported
Andrew Dolgov e2edaf7d03 add a hack to send fpm children logs to docker-captured stderr
Andrew Dolgov ed07fa1fbb remove manual loading of base database schema
Andrew Dolgov f43ade0129 default to a different session name
Andrew Dolgov 0921c53b72 initial for mariadb
Andrew Dolgov 2f293c9c59 copy config.php earlier so it gets chown-ed to app:app
Andrew Dolgov 99a7753d92 config.php cleanup
Andrew Dolgov 1db582cab6 cleanup env vars which are at default value
Andrew Dolgov e1aa2daab1 minor fixes
Andrew Dolgov 5a9cac5986 default TTRSS_XDEBUG_PORT if unset (and is debugging enabled)
Andrew Dolgov c03e0f65e7 add optional support for xdebug
Andrew Dolgov 75d1291976 always overvwrite config.php with bundled one on startup
Andrew Dolgov 2e13396bd7 use clean alpine 3.13 base
Andrew Dolgov ce945d6acb hide git warning re: rebase
Andrew Dolgov c1ad950797 initial WIP for php8
Andrew Dolgov ef24fccd6f expect RESTORE_SCHEMA in SCRIPT_ROOT
Andrew Dolgov 7529767f49 move container-related files outside of /
Andrew Dolgov 702dd2841c fix previous
Andrew Dolgov 0cded4bb78 auto update new-style config.php on container boot
Andrew Dolgov fdd507c179 re-enable nginx_xaccel; remove the rest of sed stuff from startup
Andrew Dolgov 5e55651312 silence getenv-based config check
Andrew Dolgov 99323f8665 prefix config.php-related environment variables with TTRSS_
Andrew Dolgov 16801071fc emit a warning if old-style config.php is detected
Andrew Dolgov 5034a7e2b9 set default false env vars to blank instead of string literal 'false'
Andrew Dolgov a56b3956b2 don't dump env
Andrew Dolgov 828c4180cd pull all set environment variables into app/etc
Andrew Dolgov 5f6651e6f0 initial for env-based setup
Andrew Dolgov 6cccc777d3 build app image with php7-iconv
Andrew Dolgov 80a95f7b30 remove config bak if it exists in DST_DIR
Andrew Dolgov 69bdf5c5df do not create backup config.php when rewriting SELF_URL_PATH
Andrew Dolgov 04a5438966 backups: also backup tt-rss local directories
Andrew Dolgov 707b79b52f add side container which backups tt-rss database once a week
bump alpine image to 3.12
Andrew Dolgov 328984f153 use different CLI syntax for update-schema
Andrew Dolgov d2e8c85f4c update schema on startup
Andrew Dolgov 1eff29a23f increase memory limit for php CLI processes
Andrew Dolgov 3c0599566b apply more sane permissions on cache directories
Ezwen 676ff0d9da Add and enable php7-openssl in the 'app' image
Andrew Dolgov 168b3bdb4e don't set DB_HOST twice, duh
Andrew Dolgov 9101ad6efc don't rely on DB_HOST, DB_TYPE, and DB_PORT set in config.php-dist; set proper values on startup
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
Andrew Dolgov 62f9b960ca include php7-zip in the app image (for data_migration plugin)
Andrew Dolgov efd85e33a4 only create app user if it doesn't exist
Andrew Dolgov e9563c4a87 move app user creation to startup scripts
run fpm as app user
Andrew Dolgov 59eb978976 updater: wait until app container finishes initializing instead of checking for config.php
Andrew Dolgov fa73a498a3 prevent updater from failing repeatedly on first startup while app volume is not ready
krimil 32bd22435f Remove cron update script, add updater service