HIRS/.ci/docker/docker-compose-system-test.yml

35 lines
1011 B
YAML
Raw Normal View History

services:
aca:
image: ghcr.io/nsacyber/hirs/aca-rocky-ci:latest
2021-11-16 21:51:42 +00:00
container_name: hirs-aca1
volumes:
- ../../:/HIRS
command: ["bash", "-c", "tail -f /dev/null;"]
ports:
- "${HIRS_ACA_PORTAL_PORT}:${HIRS_ACA_PORTAL_CONTAINER_PORT}"
hostname: ${HIRS_ACA_HOSTNAME}
networks:
hirs_aca_system_tests:
ipv4_address: ${HIRS_ACA_PORTAL_IP}
aliases:
- ${HIRS_ACA_HOSTNAME}
tpmprovisioner:
image: ghcr.io/nsacyber/hirs/tpm2provisioner-dotnet-ci:latest
2021-11-16 21:51:42 +00:00
container_name: hirs-provisioner1-tpm2
depends_on:
- aca
volumes:
- ../../:/HIRS
command: ["bash", "-c", "/ibmswtpm2/src/tpm_server && tail -f /dev/null"]
networks:
hirs_aca_system_tests:
2021-11-16 21:51:42 +00:00
ipv4_address: ${HIRS_ACA_PROVISIONER_TPM2_IP}
networks:
hirs_aca_system_tests:
driver: bridge
ipam:
driver: default
config:
- subnet: ${HIRS_SUBNET}