Commit Graph

89 Commits (f749a365064029c748db8ddf0ac38dfe36722324)

Author SHA1 Message Date
mossroy 5222af4e83 Add tzdata package in app docker image to allow use of TZ env var
In nginx container, it's already possible to choose the timezone by setting a TZ env var (because it's based on nginx:alpine image, that includes this package, see https://github.com/nginxinc/docker-nginx/blob/master/Dockerfile-alpine-slim.template#L96)

This commit simply adds this same package in app docker image.
It seems much cleaner to me than injecting /etc/timezone and /etc/localtime
2 years ago
wn_ f447fad75c Bump to Alpine 3.17. 2 years ago
Andrew Dolgov db3b18c016
remove NGINX_XACCEL_PREFIX (does nothing) 2 years ago
Andrew Dolgov 3491194167
add php81-xmlwriter 2 years ago
Andrew Dolgov 01f6e5442e
Merge branch 'master' of git.tt-rss.org:tt-rss/ttrss-docker-compose 2 years ago
Andrew Dolgov 6364d2cbce
add php81-simplexml 2 years ago
jmechnich 024f7093a0 Also call update-ca-certifacates at startup of updater 2 years ago
Andrew Dolgov 892bcd634c
add php81-phar 2 years ago
Andrew Dolgov 14ebd6bbee
add envvar to enable core dumps, disable xdebug tracing 2 years ago
Andrew Dolgov 94e1afa9ec
add php ctype module for readability 2 years ago
Andrew Dolgov 781666d860
Revert "Revert "switch to php 8.1""
This reverts commit 9a19d11d1a.
2 years ago
Andrew Dolgov 9a19d11d1a
Revert "switch to php 8.1"
because of readability

This reverts commit 165d2fdd6f.
2 years ago
Andrew Dolgov 165d2fdd6f
switch to php 8.1 2 years ago
Andrew Dolgov 959e07700f
set random password for admin on first startup unless ADMIN_USER_PASS is set 2 years ago
Andrew Dolgov 4326aa8d32
updater: unset PASS variables 2 years ago
Andrew Dolgov 04499dc0a9
Merge branch 'master' of git.tt-rss.org:fox/ttrss-docker-compose 2 years ago
Andrew Dolgov e472670de7
* add environment variable to add initial users on startup
* list supported environment variables in .env-dist
2 years ago
Andrew Dolgov ab8f1c5420 * temporarily add more startup debugging
* adjust chown ordering a bit
3 years ago
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/
3 years ago
Andrew Dolgov 95ac4a70f9 revise previous (again) 3 years ago
Andrew Dolgov 46a7d19374 revise previous 3 years ago
Andrew Dolgov 731725fb4e make PHP worker process and memory limits configurable 3 years ago
Andrew Dolgov 219913d12b updater: force adding user/group even if GID/UID is duplicate 3 years ago
Andrew Dolgov c552bb48c9 * force adding user/group even if GID/UID is duplicate
* allow running FPM as root, if needed
3 years ago
Andrew Dolgov 283c221fff don't try to update base tt-rss source when updating plugins.local 3 years ago
Andrew Dolgov d9b96dc114 switch base image to alpine 3.14 3 years ago
Andrew Dolgov bd0c7ebf0e update all local plugins on startup, unless forbidden by TTRSS_NO_STARTUP_PLUGIN_UPDATES 3 years ago
Andrew Dolgov 3c30e41606 run update-ca-certificates on container startup 3 years ago
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
4 years ago
Andrew Dolgov 3c31de3427 add workaround for slow podman internal dns resolver 4 years ago
Andrew Dolgov 063ed46d91 add php8-exif 4 years ago
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