How usually docker compose is set for a different environment?
Currently I use two docker-compose file:
- (remote) one that includes nginx for ssl and exposes only the nginx to the outside
- (local) one that doesn’t include nginx, exposes the application
So it means, I have to maintain two kind of somewhat similar file. Is this approach expected? Or there are other approaches that better?