How do I hang external configuration files to nginx in docker?

  docker, question

Mirroring is the latest version of nginx in hub
How should it be configured in docker-compose?

Mount via docker’s data volume.
Commands such as dockerrun-d-namenginx-v/you _ path/nginx:/etc/nginx nginx