🗃️ Committing everything that changed 🗃️

Dockerfile
rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
This commit is contained in:
casjay 2024-07-07 11:07:50 -04:00
parent 2fd2ab3e82
commit 4610f1f64f
Signed by untrusted user who does not match committer: jason
GPG Key ID: 1AB309F42A764145
2 changed files with 5 additions and 3 deletions

View File

@ -169,6 +169,7 @@ ENV PHP_VERSION="${PHP_VERSION}"
ENV CONTAINER_NAME="${IMAGE_NAME}"
ENV HOSTNAME="casjaysdev-${IMAGE_NAME}"
ENV USER="${USER}"
ENV PATH="/opt/echoip:$PATH"
COPY --from=build /. /

View File

@ -120,13 +120,14 @@ SERVICE_GID="0" # set the group id
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# execute command variables - keep single quotes variables will be expanded later
EXEC_CMD_BIN='ifconfig' # command to execute
EXEC_CMD_ARGS='-r -s -p -l :$SERVICE_PORT ' # command arguments
EXEC_CMD_ARGS='-r -s -p ' # command arguments
EXEC_CMD_ARGS='-l :$SERVICE_PORT ' # command arguments
EXEC_CMD_ARGS+='-H X-Real-IP ' # command arguments
EXEC_CMD_ARGS+='-H x-forwarded-for ' # command arguments
EXEC_CMD_ARGS+='-a /opt/echoip/geoip/GeoLite2-ASN.mmdb ' # command arguments
EXEC_CMD_ARGS+='-c /opt/echoip/geoip/GeoLite2-City.mmdb ' # command arguments
EXEC_CMD_ARGS+='-f /opt/echoip/geoip/GeoLite2-Country.mmdb ' # command arguments
EXEC_CMD_ARGS+='-t /opt/echoip/html ' # command arguments
EXEC_CMD_ARGS+='-H X-Real-IP ' # command arguments
EXEC_CMD_ARGS+='-H x-forwarded-for ' # command arguments
EXEC_PRE_SCRIPT='' # execute script before
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Is this service a web server