Cli/ref/mw docker custom

mw docker custom
custom service

Synopsis
Custom docker-compose services

You can define your own docker-compose file in a custom.yml file. This file should be created in the directory returned by the  command.

Example regular service:

version: '3.7' services: &lt;service-name&gt;: image: &lt;service-image&gt; dns: - 10.0.0.10   networks: - dps Example web service:

version: '3.7' services: &lt;service-name&gt;: image: &lt;service-image&gt; environment: - VIRTUAL_HOST=&lt;service-name&gt;.mwdd.localhost,&lt;service-name&gt;.mwdd - VIRTUAL_PORT=&lt;service-port&gt; depends_on: - nginx-proxy dns: - 10.0.0.10   networks: - dps Note: If you use the docker hosts file integration, you may need to manually add this host.

Options inherited from parent commands
--help            help for this command --no-interaction  Do not ask any interactive questions --verbosity int   verbosity level (1-2) (default 1)