mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-23 14:52:31 +00:00
6e7d894765
The macvlan network plugin for docker on linux requires privileged mode to work properly.
36 lines
758 B
YAML
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
|