If I'm using docker and make a change to .env.production, do I need to rebuild and precompile?
@rascalking Thanks I'm trying to change email to SMTP localhost but the changes don't seem to be picking up.
@skroo this SO post suggests all you need to do is "docker-compose up" again (with an optional "-d" if you're running it detached), and it will take care of recreating and restarting any containers that consume that env file.
@rascalking Thanks!
@skroo i'm guessing, but it sounds like you're talking about an env_file being referenced from a docker-compose.yml (ie. https://docs.docker.com/compose/compose-file/#env_file)? if so, you wouldn't need to rebuild the images, just restart the application.
what i can't manage to find, though, is whether docker compose restart will pick those changes up, or if you have to do a down and then an up.