In my docker compose file there is a dynamic field which I'd like to generate during the running. Actually it is a string template:
environment:
- SERVER_URL:https://0.0.0.0:${PORT}
And I want to configure this PORT
parameter dynamically
docker-compose run <service> PORT=443
In documentation there is ARGS
parameters set I suppose I can use. But there is no information how can I use those inside compose file