From fc712d1893e8c98d78a57a9ff94e06433b677b88 Mon Sep 17 00:00:00 2001 From: paragon Date: Thu, 11 Jun 2026 18:56:48 -0400 Subject: [PATCH] add keys api yml files --- dist/arch-keys-api-cert.yml | 42 +++++++++++++++++++++++++++++++++++++ dist/arch-keys-api.yml | 27 ++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 dist/arch-keys-api-cert.yml create mode 100644 dist/arch-keys-api.yml diff --git a/dist/arch-keys-api-cert.yml b/dist/arch-keys-api-cert.yml new file mode 100644 index 0000000..3fdf3ad --- /dev/null +++ b/dist/arch-keys-api-cert.yml @@ -0,0 +1,42 @@ +services: + arch-keys-api: + container_name: arch-keys-api + hostname: arch-keys-api + image: gitea.triunnialabs.com/triunnialabs/arch-keys-api:0.1.17 + entrypoint: ["/bin/sh", "-c", "cat /certs/my-company-root-ca.crt >> /etc/ssl/certs/ca-certificates.crt && exec dotnet TriunniaLabs.Arch.Api.Keys.Server.dll"] + ports: + - "50002:8081" + environment: + - ASPNETCORE_HTTPS_PORTS=8081 + - ASPNETCORE_Kestrel__Certificates__Default__Path=/certs/my-arch-app-fullchain.pem + - ASPNETCORE_Kestrel__Certificates__Default__KeyPath=/certs/my-arch-app.key.pem + - Microservice__Name= + - Microservice__EnvelopePassword= + - Microservice__Application__Url= + - Microservice__Application__ApplicationId= + - Microservice__Application__ApiKey= + - Microservice__Application__EnvelopePassword= + - Microservice__ProtectedMemory__HmacSha512HashKey= + - Microservice__ProtectedMemory__AesEncryptionPassword= + - Microservice__ProtectedMemory__AesEncryptionSalt= + - Microservice__ProtectedMemory__AesEncryptionIterations= + - SqlServer__ConnectionString= + - SqlServer__ReadOnlyConnectionString= + volumes: + - type: bind + source: C:\MyArchApp\Apis\Keys + target: /opt/triunnialabs/arch/apis/keys + - type: bind + source: C:\MyArchApp\my-arch-app-fullchain.pem + target: /certs/my-arch-app-fullchain.pem + read_only: true + - type: bind + source: C:\MyArchApp\my-arch-app.key.pem + target: /certs/my-arch-app.key.pem + read_only: true + - type: bind + source: C:\MyArchApp\my-company-root-ca.crt + target: /certs/my-company-root-ca.crt + read_only: true + extra_hosts: + - "host.docker.internal:host-gateway" \ No newline at end of file diff --git a/dist/arch-keys-api.yml b/dist/arch-keys-api.yml new file mode 100644 index 0000000..83a3fee --- /dev/null +++ b/dist/arch-keys-api.yml @@ -0,0 +1,27 @@ +services: + arch-keys-api: + container_name: arch-keys-api + hostname: arch-keys-api + image: gitea.triunnialabs.com/triunnialabs/arch-keys-api:0.1.17 + ports: + - "50002:8081" + environment: + - ASPNETCORE_HTTPS_PORTS=8081 + - Microservice__Name= + - Microservice__EnvelopePassword= + - Microservice__Application__Url= + - Microservice__Application__ApplicationId= + - Microservice__Application__ApiKey= + - Microservice__Application__EnvelopePassword= + - Microservice__ProtectedMemory__HmacSha512HashKey= + - Microservice__ProtectedMemory__AesEncryptionPassword= + - Microservice__ProtectedMemory__AesEncryptionSalt= + - Microservice__ProtectedMemory__AesEncryptionIterations= + - SqlServer__ConnectionString= + - SqlServer__ReadOnlyConnectionString= + volumes: + - type: bind + source: C:\MyArchApp\Apis\Keys + target: /opt/triunnialabs/arch/apis/keys + extra_hosts: + - "host.docker.internal:host-gateway" \ No newline at end of file