Question: I need to refresh all ad slots after 15 sec and load new ads to the slots without counting new impression. 
\*\* This works :

```
googletag.pubads().refresh([slot1], {changeCorrelator: false});

```

\*\*but when I add the set interval 30 sec.. it is not refreshing- 

```
setInterval(function(){googletag.pubads().refresh(null, {changeCorrelator: false}, 30000)});

```

Pls help..Tnx

Answer: 
**UPDATE**: You can now use the top-level [name](https://github.com/compose-spec/compose-spec/blob/master/spec.md#name-top-level-element) property in your docker-compose YAML file. This is available from Docker Compose v2.3.3

This is the result of the [#745](https://github.com/docker/compose/issues/745) proposal. An issue which persevered for about 8 years.

**Previously:**
Right now, we can use [the `.env` file](https://docs.docker.com/compose/environment-variables/#the-env-file) to set the custom project name like this:

```
COMPOSE_PROJECT_NAME=SOMEPROJECTNAME

```

It's not flexible, but it's better than nothing. Currently, there is [an open issue](https://github.com/docker/compose/issues/745) regarding this as a proposal.
You can add them as your environment variables which are available through the session in which you are bringing up your containers using the docker compose.

Ie, if you wanted to use $PROJECT\_NAME somewhere inside your docker-compose.yaml then if this variable has a value in your session, then it would be picked up.

Inside the yaml you can assign it to anything as you want it. You want as a commandline arg to some script, even that is also possible. ie, 

```
working_dir: /opt
command: /bin/bash -c './script.sh ${PROJECT_NAME}'
volumes:
    - /var/run/:/host/var/run/

```

I'm using 
docker version : Docker version 17.09.0-ce, build afdb6d4
docker-compose version : docker-compose version 1.14.0, build c7bdf9e