# Naming: maksit-certs-ui-<role> for containers and local images (parallel to maksit-vault-* in the Vault repo).
# DOCKER_REGISTRY is optional (e.g. cr.example.com/); YARP still targets Compose service names client / server in appsettings.json.
name: maksit-certs-ui

services:
  reverseproxy:
    container_name: maksit-certs-ui-reverseproxy
    image: ${DOCKER_REGISTRY-}maksit-certs-ui-reverseproxy
    build:
      context: .
      dockerfile: ReverseProxy/Dockerfile

  client:
    container_name: maksit-certs-ui-client
    image: ${DOCKER_REGISTRY-}maksit-certs-ui-client
    build:
      context: .
      dockerfile: MaksIT.WebUI/Dockerfile

  server:
    container_name: maksit-certs-ui-server
    image: ${DOCKER_REGISTRY-}maksit-certs-ui-server
    build:
      context: .
      dockerfile: MaksIT.Webapi/Dockerfile
