Refactor docker-compose.yml & Dockerfile; Add Dockerfile_Ngx_template

This commit is contained in:
2024-10-25 15:50:02 +03:00
parent 76aef119bd
commit e6d39be83f
5 changed files with 80 additions and 13 deletions

View File

@@ -1,9 +1,12 @@
#!/bin/bash
[[ -n $KNOCKING_STATUS ]] &&
INTERFACE=$(ip -br a | grep -E "172.28" | awk '{print $1}') || \
INTERFACE=$(ip -br a | grep -E "^eth" | awk '{print $1}')
echo -E "
[options]
Interface = eth1
Interface = ${INTERFACE%@*}
[openNGINX]
sequence = 8100, 7200, 13000