Given the following docker run
command:
-p 80:80 -p 443:443 \
rancher/rancher:latest \
--acme-domain <YOUR.DNS.NAME>
What is the notation for writing --acme-domain
in the docker-compose file? I was not able to find this in the docs. Thanks
Everything after the image name in your docker run
command line is the "command", which gets executed either by the shell or by your ENTRYPOINT
script. The equivalent docker-compose
directive is command
. For example:
service:
image: rancher/rancher:latest
ports:
- "80:80"
- "443:443"
command: "--acme-domain <YOUR.DNS.NAME>"
...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With