services:
    grafana-build:
        image: "grafana:${GRAFANA_VERSION}"
        profiles: ["build", "build-grafana"]
        build:
            context: "build-context/grafana"
            dockerfile: Dockerfile
            args:
                EXAMPLE_ARG_FOR_DOCKERFILE: "${EXAMPLE_ARG_FROM_ENV_FILE}"
                GRAFANA_VERSION: "${GRAFANA_VERSION}"
    nginx-build:
        image: "nginx:${NGINX_VERSION}"
        profiles: ["build", "build-nginx"]
        build:
            context: "build-context/nginx"
            dockerfile: Dockerfile
            args:
                EXAMPLE_ARG_FOR_DOCKERFILE: "${EXAMPLE_ARG_FROM_ENV_FILE}"
                NGINX_VERSION: "${NGINX_VERSION}"