HIRS/.ci/docker/compose-acceptance-test-linux.yml
5B96790E3664F40075A67E6ADF737EDB15B4408DBC91A81228B31537B0CE3E26 6e7d894765
compose-acceptance-test-linux: docker macvlan requires privileged mode
The macvlan network plugin for docker on linux requires privileged mode to work properly.
2024-10-14 22:15:11 -04:00

36 lines
758 B
YAML

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
privileged: true
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