How to set Docker-compose arguments in console?
<p>My Docker containers will be set up through a bash script.</p>

<p>In my docker-compose.yml file (which is called through <code>docker-compose up</code> inside the bash file) I have a few arguments:</p>

<pre><code>version: "2"
services:
    nginx:
        build: ./Dockerfiles/wordpress-nginx
        expose:
            - "80"
        depends_on:
            - fpm
        links:
            - fpm
        container_name: wordpress-nginx
        args:
            - site_title=Example
            - admin_email=test@test.co
            - site_url=www.testcase001.com
            - admin_user=admin
            - admin_pass=qwerty
            - ssl_domain=www.testcase001.com
            - dbname=testcase
            - dbuser=testcase
            - dbpass=testcase
            - dbhost=testcase
    fpm:
        build: ./Dockerfiles/php-fpm
        expose:
            - "9000"
        container_name: fpm
</code></pre>

<p>Now my question is this:</p>

<p><strong><em>How can I set the arguments from the command line?</em></strong></p>

<p>For example:<br>
I want to set the <code>site_title</code> argument: <code>docker-compose up --something-to-set-the-site_title-argument</code></p>