Detach mode is not taking my parameters into account

For further example, here is the docker compose comportment while using the docker compose up, as you can see with my poor editing skills, the active profile is “prod”