version: '2' services: pxe-boot: container: pxe-boot image: localhost/pxe-boot:latest network_mode: host volumes: - ./tftpd_boot/rhcos:/var/lib/tftpboot/boot:z privileged: - true pxe-nginx: container: pxe-nginx image: nginx:stable volumes: - ./nginx/conf.d:/etc/nginx/conf.d:Z - ./tftpd_boot:/var/www/default/boot:Z ports: - 8080:8080 ocp-haproxy: container: ocp-haproxy image: haproxy:2.7 volumes: - ./etc/haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:Z privileged: - true network_mode: host ports: - "80:80" - "443:443" # haproxy admin console, login with user:pass - "6443:6443" # haproxy admin console, login with user:pass - "9000:9000" # haproxy admin console, login with user:pass - "22623:22623"