Skip to content

Commit 6f92665

Browse files
committed
Update ipv4 variable
1 parent 6c50a79 commit 6f92665

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ NGINX_PROXY_COMPANION_IMAGE_VERSION=2.0
3333
# please make sure you use the correct address otherwise your proxy will not
3434
# work properly, '0.0.0.0' will work, but we recommend to update this variable
3535
#
36-
IP=0.0.0.0
36+
IPv4=0.0.0.0
3737
IPv6=::1
3838

3939
#-----------------------------------------------------------------------

bin/localscript/update-env-new-site-variables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ local_update_env_new_site_variables()
4242
run_function env_update_variable $LOCAL_FILE_PATH "NGINX_PROXY_COMPANION_IMAGE_VERSION" "$LETSENCRYPT_IMAGE_VERSION"
4343

4444
# IPs
45-
run_function env_update_variable $LOCAL_FILE_PATH "IP" "$IP_ADDRESS"
45+
run_function env_update_variable $LOCAL_FILE_PATH "IPv4" "$IP_ADDRESS"
4646
[[ "$ACTIVATE_IPV6" == true ]] && run_function env_update_variable $LOCAL_FILE_PATH "IPv6" "$IPv6_ADDRESS"
4747

4848
# Network

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ services:
88
container_name: ${NGINX_WEB:-nginx-proxy-automation-web}
99
restart: always
1010
ports:
11-
- "${IP:-0.0.0.0}:${DOCKER_HTTP:-80}:80"
12-
- "${IP:-0.0.0.0}:${DOCKER_HTTPS:-443}:443"
11+
- "${IPv4:-0.0.0.0}:${DOCKER_HTTP:-80}:80"
12+
- "${IPv4:-0.0.0.0}:${DOCKER_HTTPS:-443}:443"
1313
# - "${IPv6:-::/0}:80:80"
1414
# - "${IPv6:-::/0}:443:443"
1515
environment:

0 commit comments

Comments
 (0)