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

* add environment variable to add initial users on startup

* list supported environment variables in .env-dist
This commit is contained in:
Andrew Dolgov 2022-06-10 17:54:00 +03:00
parent 95ac4a70f9
commit e472670de7
No known key found for this signature in database
GPG key ID: 1A56B4FA25D4AF2A
3 changed files with 57 additions and 4 deletions

View file

@ -1,13 +1,38 @@
# Copy this file to .env before building the container.
# Put any local modifications here.
# Run under this UID/GID.
# OWNER_UID=1000
# OWNER_GID=1000
# FPM settings.
#PHP_WORKER_MAX_CHILDREN=5
#PHP_WORKER_MEMORY_LIMIT=256M
# ADMIN_USER_* settings are applied on every startup.
# Set admin user password to this value.
#ADMIN_USER_PASS=
# Sets admin user access level to this value.
# Valid values:
# -2 - forbidden to login
# -1 - readonly
# 0 - default user
# 10 - admin
#ADMIN_USER_ACCESS_LEVEL=
# Auto create another user (in addition to built-in admin) unless it
# already exists.
#AUTO_CREATE_USER=
#AUTO_CREATE_USER_PASS=
#AUTO_CREATE_USER_ACCESS_LEVEL=0 # see above
# Default database credentials.
TTRSS_DB_USER=postgres
TTRSS_DB_NAME=postgres
TTRSS_DB_PASS=password
# This is only used by web-ssl container.
#HTTP_HOST=localhost
# You will likely need to set this to the correct value, see README.md
# for more information.
TTRSS_SELF_URL_PATH=http://localhost:8280/tt-rss