Set NGINX to bind on TINKERBELL_HOST_IP:8080

Signed-off-by: Michael Richard <michael.richard.ing@gmail.com>
This commit is contained in:
Michael Richard
2021-01-25 11:47:26 -05:00
parent cc39216b67
commit c7b84264af
3 changed files with 12 additions and 33 deletions

View File

@ -124,7 +124,7 @@ services:
PACKET_VERSION: ${PACKET_VERSION:-ignored}
ROLLBAR_TOKEN: ${ROLLBAR_TOKEN:-ignored}
ROLLBAR_DISABLE: ${ROLLBAR_DISABLE:-1}
MIRROR_HOST: ${TINKERBELL_NGINX_IP:-127.0.0.1}
MIRROR_HOST: ${TINKERBELL_HOST_IP:-127.0.0.1}:8080
DNS_SERVERS: 8.8.8.8
PUBLIC_IP: $TINKERBELL_HOST_IP
BOOTP_BIND: $TINKERBELL_HOST_IP:67
@ -151,7 +151,7 @@ services:
restart: unless-stopped
tty: true
ports:
- $TINKERBELL_NGINX_IP:80:80/tcp
- $TINKERBELL_HOST_IP:8080:80/tcp
volumes:
- ./state/webroot:/usr/share/nginx/html/