Rename a file through docker-compose

Hi, I wrote that docker-compose.yml to run php over nginx.
I want to rename /etc/nginx/default.conf when I first up the compose. There is a way to do that.

version: “3”
services:
web:
image: nginx:alpine
ports:
- “8888:80”
volumes:
- “./site.conf:/etc/nginx/conf.d/site.conf”
- “./app:/var/www/html/public/”
restart: always
depends_on:
- php

php:
image: php:7-fpm-alpine
restart: always
volumes:
- “./app:/var/www/html/public/”