1
0
Fork 0
mirror of https://git.tt-rss.org/fox/ttrss-docker-compose synced 2025-06-14 07:59:51 +02:00

merge missing options from master branch

This commit is contained in:
Andrew Dolgov 2022-06-19 14:26:34 +03:00
parent a3aa0195c9
commit b98b4350fd
No known key found for this signature in database
GPG key ID: 1A56B4FA25D4AF2A
2 changed files with 93 additions and 14 deletions

View file

@ -1,4 +1,4 @@
FROM alpine:3.13
FROM alpine:3.15
EXPOSE 9000/tcp
ENV SCRIPT_ROOT=/opt/tt-rss
@ -28,6 +28,29 @@ ADD config.docker.php ${SCRIPT_ROOT}
ENV OWNER_UID=1000
ENV OWNER_GID=1000
ENV PHP_WORKER_MAX_CHILDREN=5
ENV PHP_WORKER_MEMORY_LIMIT=256M
# these are applied on every startup, if set
ENV ADMIN_USER_PASS=""
# see classes/UserHelper.php ACCESS_LEVEL_*
# setting this to -2 would effectively disable built-in admin user
# unless single user mode is enabled
ENV ADMIN_USER_ACCESS_LEVEL=""
# these are applied unless user already exists
ENV AUTO_CREATE_USER=""
ENV AUTO_CREATE_USER_PASS=""
ENV AUTO_CREATE_USER_ACCESS_LEVEL="0"
# TODO: remove prefix from container variables not used by tt-rss itself:
#
# - TTRSS_NO_STARTUP_PLUGIN_UPDATES -> NO_STARTUP_PLUGIN_UPDATES
# - TTRSS_XDEBUG_... -> XDEBUG_...
# don't try to update local plugins on startup (except for nginx_xaccel)
ENV TTRSS_NO_STARTUP_PLUGIN_UPDATES=""
# TTRSS_XDEBUG_HOST defaults to host IP if unset
ENV TTRSS_XDEBUG_ENABLED=""
ENV TTRSS_XDEBUG_HOST=""