Commit Graph

31 Commits

Author SHA1 Message Date
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
Andrew Dolgov 707b79b52f add side container which backups tt-rss database once a week
bump alpine image to 3.12
2020-09-30 12:30:02 +03:00
Andrew Dolgov 328984f153 use different CLI syntax for update-schema 2020-09-30 06:57:04 +03:00
Andrew Dolgov d2e8c85f4c update schema on startup 2020-09-28 13:55:06 +03:00
Andrew Dolgov 1eff29a23f increase memory limit for php CLI processes 2020-09-27 17:54:45 +03:00
Andrew Dolgov 3c0599566b apply more sane permissions on cache directories 2020-09-17 08:24:46 +03:00
Ezwen 676ff0d9da Add and enable php7-openssl in the 'app' image 2020-04-26 10:27:02 +00:00
Andrew Dolgov 168b3bdb4e don't set DB_HOST twice, duh 2020-04-23 16:16:05 +03:00
Andrew Dolgov 9101ad6efc don't rely on DB_HOST, DB_TYPE, and DB_PORT set in config.php-dist; set proper values on startup 2020-04-23 16:12:09 +03:00
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
2020-02-22 10:03:59 +03:00
Andrew Dolgov 62f9b960ca include php7-zip in the app image (for data_migration plugin) 2020-01-25 08:42:41 +03:00
Andrew Dolgov efd85e33a4 only create app user if it doesn't exist 2020-01-23 18:50:04 +03:00
Andrew Dolgov e9563c4a87 move app user creation to startup scripts
run fpm as app user
2020-01-23 16:59:10 +03:00
Andrew Dolgov 59eb978976 updater: wait until app container finishes initializing instead of checking for config.php 2020-01-23 13:55:44 +03:00
Andrew Dolgov fa73a498a3 prevent updater from failing repeatedly on first startup while app volume is not ready 2020-01-23 12:00:03 +03:00
krimil 32bd22435f Remove cron update script, add updater service 2020-01-22 07:26:16 -06:00
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
2020-01-19 12:54:24 +03:00
Andrew Dolgov 05d341df89 add support for restoring schema on restart (needed only for demo, not normally used) 2019-12-11 11:38:44 +03:00
Andrew Dolgov 9adf705f70 pg_isready: don't try to connect as root 2019-12-09 09:48:50 +03:00
Andrew Dolgov 3399b10261 Merge branch 'master' of https://git.tt-rss.org/fox/ttrss-docker-compose 2019-12-09 07:18:19 +03:00
Andrew Dolgov 7e9addf1a3 set core.filemode false on local repos before pulling updates, bind to 127.0.0.1 only by default 2019-12-09 07:17:59 +03:00
Andrew Dolgov e343f3d09f on app startup, wait until database is ready 2019-11-29 10:09:28 +03:00
Andrew Dolgov 818725f4fb create pg_trgm if needed 2019-11-16 13:33:58 +03:00
Andrew Dolgov ec05907c94 add index.php redirecting to /tt-rss/ 2019-11-15 21:18:49 +03:00
Andrew Dolgov aab001fbc6 enable nginx_xaccel, etc 2019-11-15 17:54:33 +03:00
Andrew Dolgov cf2406f6a6 various updates 2019-11-15 17:42:50 +03:00
Andrew Dolgov a1f1862ba2 initial 2019-11-15 15:51:55 +03:00