version: '3'
services:
    instance:
        container_name: '${containerName}'
        build:
            context: .
        environment:
            ASPNETCORE_URLS: http://*;https://*
            ASPNETCORE_Kestrel__Certificates__Default__Password: fonto-connectors-certificate
            ASPNETCORE_Kestrel__Certificates__Default__Path: /app/https/certificate.pfx
        env_file:
            - .env
        ports:
            - ${httpPort}:80
            - ${httpsPort}:443
        extra_hosts:
            - 'host.docker.internal:host-gateway'
