Updated compose files for the acceptance test for Windows and Linux (#672)

* Linux will require different network driver for the acceptance test
container.

* default compose network does not work the same on Windows
This commit is contained in:
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26 2024-01-17 11:16:31 -05:00 committed by GitHub
parent e4c9150b07
commit 355cec9e9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,34 @@
version: "3.9"
services:
aca: # policy settings not saved, will have a clean database/default policy on each boot for now
image: ghcr.io/nsacyber/hirs/aca
container_name: aca
ports:
- 8443:8443
networks:
hat_network:
ipv4_address: 172.16.1.75
default:
hat:
image: ghcr.io/nsacyber/hirs/hat
container_name: hat
ports:
- 53:53/tcp
- 53:53/udp
- 67:67/udp
- 68:68/udp
- 69:69
- 80:80
networks:
hat_network:
ipv4_address: 172.16.1.3
networks:
hat_network:
driver: macvlan
name: hat_network
driver_opts:
parent: eno2
ipam:
config:
- subnet: 172.16.1.0/24
gateway: 172.16.1.1