diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml index 0834d5d..efa2308 100644 --- a/deploy/docker-compose.yml +++ b/deploy/docker-compose.yml @@ -115,6 +115,7 @@ services: image: ${TINKERBELL_TINK_BOOTS_IMAGE} restart: unless-stopped network_mode: host + command: -dhcp-addr 0.0.0.0:67 -tftp-addr $TINKERBELL_HOST_IP:69 -http-addr $TINKERBELL_HOST_IP:80 -log-level DEBUG environment: API_AUTH_TOKEN: ${PACKET_API_AUTH_TOKEN:-ignored} API_CONSUMER_TOKEN: ${PACKET_CONSUMER_TOKEN:-ignored} @@ -126,10 +127,10 @@ services: MIRROR_HOST: ${TINKERBELL_HOST_IP:-127.0.0.1}:8080 DNS_SERVERS: 8.8.8.8 PUBLIC_IP: $TINKERBELL_HOST_IP - BOOTP_BIND: :67 - HTTP_BIND: :80 - SYSLOG_BIND: :514 - TFTP_BIND: :69 + BOOTP_BIND: $TINKERBELL_HOST_IP:67 + HTTP_BIND: $TINKERBELL_HOST_IP:80 + SYSLOG_BIND: $TINKERBELL_HOST_IP:514 + TFTP_BIND: $TINKERBELL_HOST_IP:69 DOCKER_REGISTRY: $TINKERBELL_HOST_IP REGISTRY_USERNAME: $TINKERBELL_REGISTRY_USERNAME REGISTRY_PASSWORD: $TINKERBELL_REGISTRY_PASSWORD @@ -140,6 +141,10 @@ services: depends_on: db: condition: service_healthy + ports: + - $TINKERBELL_HOST_IP:80:80/tcp + - 67:67/udp + - 69:69/udp nginx: image: nginx:alpine