mirror of
https://github.com/casjaysdevdocker/ifconfig
synced 2025-09-17 21:57:51 -04:00
🗃️ Committing everything that changed 🗃️
Dockerfile rootfs/tmp/init.sh rootfs/tmp/update-geoip-db.sh rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/init.d/zz-ifconfig.sh
This commit is contained in:
@@ -9,11 +9,11 @@
|
||||
# @@Copyright : Copyright: (c) 2023 Jason Hempstead, Casjays Developments
|
||||
# @@Created : Sunday, Sep 10, 2023 22:52 EDT
|
||||
# @@File : docker-entrypoint
|
||||
# @@Description :
|
||||
# @@Description :
|
||||
# @@Changelog : New script
|
||||
# @@TODO : Better documentation
|
||||
# @@Other :
|
||||
# @@Resource :
|
||||
# @@Other :
|
||||
# @@Resource :
|
||||
# @@Terminal App : no
|
||||
# @@sudo/root : no
|
||||
# @@Template : other/docker-entrypoint
|
||||
@@ -76,9 +76,9 @@ WWW_ROOT_DIR="" # set default web dir
|
||||
DATABASE_DIR="" # set database dir
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Healthcheck variables
|
||||
HEALTH_ENABLED="yes" # enable healthcheck [yes/no]
|
||||
SERVICES_LIST="tini" # comma seperated list of processes for the healthcheck
|
||||
HEALTH_ENDPOINTS="" # url endpoints: [http://localhost/health,http://localhost/test]
|
||||
HEALTH_ENABLED="yes" # enable healthcheck [yes/no]
|
||||
SERVICES_LIST="tini echoip" # comma seperated list of processes for the healthcheck
|
||||
HEALTH_ENDPOINTS="" # url endpoints: [http://localhost/health,http://localhost/test]
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Overwrite variables
|
||||
|
||||
|
@@ -119,7 +119,7 @@ SERVICE_UID="0" # set the user id
|
||||
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_BIN='echoip ' # command to execute
|
||||
EXEC_CMD_ARGS='-r -s -p -l :$SERVICE_PORT -H X-Real-IP -H x-forwarded-for ' # command arguments
|
||||
EXEC_CMD_ARGS+='-t /opt/echoip/html ' # command arguments
|
||||
EXEC_CMD_ARGS+='-a /opt/echoip/geoip/GeoLite2-ASN.mmdb ' # command arguments
|
||||
|
Reference in New Issue
Block a user