How to set environment in the latest docker compose?

I have been using an old version of docker-compose.
Today when i update latest docker images . I found that I can’t mount config.php to setup.

This is my environment in compose file . i can login but lose the customize config which in config.php. something like “SMTP,ENABLE_REGISTRATION” etc

environment:
  - SELF_URL_PATH=https://rss.rssforever.com/
  - DB_PASS=xxxxxxxx
  - PUID=1000
  - PGID=1000
  - ENABLE_PLUGINS=auth_internal,remove_iframe_sandbox

How can i add customize config environment in compose file ?
I found some config in classes/config.php that i need following:

FORCE_ARTICLE_PURGE
DAEMON_MAX_JOBS (oldest version was MAX_JOBS? last question fox tell me the max_jobs)
CACHE_MAX_DAYS (this is new config?)

i’m going to probate you for two months to figure out how to read documentation and multiple existing threads instead of asking to be spoonfed.