Is it possible to define local variable in docker-compose.yml?
Something like this for example:
version: '3'
services:
app:
build:
context: .
dockerfile: Dockerfile
image: $APP_NAME
container_name: $APP_NAME
Can I define the value of $APP_NAME on this same docker-compose.yml file?