Commit Graph

34 Commits (be80ae2fe6c58813853fd63a1bf2decf904a6127)

Author SHA1 Message Date
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
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
Andrew Dolgov 05d341df89 add support for restoring schema on restart (needed only for demo, not normally used)
Andrew Dolgov 9adf705f70 pg_isready: don't try to connect as root
Andrew Dolgov 3399b10261 Merge branch 'master' of https://git.tt-rss.org/fox/ttrss-docker-compose
Andrew Dolgov 7e9addf1a3 set core.filemode false on local repos before pulling updates, bind to 127.0.0.1 only by default
Andrew Dolgov e343f3d09f on app startup, wait until database is ready
Andrew Dolgov 818725f4fb create pg_trgm if needed
Andrew Dolgov ec05907c94 add index.php redirecting to /tt-rss/
Andrew Dolgov aab001fbc6 enable nginx_xaccel, etc
Andrew Dolgov cf2406f6a6 various updates
Andrew Dolgov a1f1862ba2 initial