Many docker images have support for docker secrets via additional environment variables with the _FILE suffix. Specifying any of those environment variables sources the value from the file instead of from the environment itself. I added support for the _FILE counterparts to PostgreSQL environment variables supported by movim:
Many docker images have support for docker secrets via additional environment variables with the
_FILE
suffix. Specifying any of those environment variables sources the value from the file instead of from the environment itself. I added support for the_FILE
counterparts to PostgreSQL environment variables supported by movim:$POSTGRES_DB_FILE
$POSTGRES_USER_FILE
$POSTGRES_PASSWORD_FILE