diff --git a/rootfs/usr/local/share/template-files/config/.gitkeep b/rootfs/usr/local/share/template-files/config/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/rootfs/usr/local/share/template-files/config/env/default.sample b/rootfs/usr/local/share/template-files/config/env/default.sample deleted file mode 100644 index a5f0acb..0000000 --- a/rootfs/usr/local/share/template-files/config/env/default.sample +++ /dev/null @@ -1,135 +0,0 @@ -#!/usr/bin/env bash -# - - - - - - - - - - - - - - - - - - - - - - - - - -# Set bash options -[ "$DEBUGGER" = "on" ] && echo "Enabling debugging" && set -o pipefail -x$DEBUGGER_OPTIONS || set -o pipefail -# - - - - - - - - - - - - - - - - - - - - - - - - - -# import the functions file -[ -f "/usr/local/etc/docker/functions/entrypoint.sh" ] && . "/usr/local/etc/docker/functions/entrypoint.sh" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# GLOBAL enviroment variables -#USER="${USER:-root}" -#LANG="${LANG:-C.UTF-8}" -#TZ="${TZ:-America/New_York}" -#SERVICE_USER="${SERVICE_USER:-root}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# directory settings -#BACKUP_DIR="${BACKUP_DIR:-/data/backups}" -#WWW_ROOT_DIR="${WWW_ROOT_DIR:-/usr/local/share/httpd/default}" -#LOCAL_BIN_DIR="${LOCAL_BIN_DIR:-/usr/local/bin}" -#DATABASE_BASE_DIR="${DATABASE_BASE_DIR:-/data/db}" -#DEFAULT_DATA_DIR="${DEFAULT_DATA_DIR:-/usr/local/share/template-files/data}" -#DEFAULT_CONF_DIR="${DEFAULT_CONF_DIR:-/usr/local/share/template-files/config}" -#DEFAULT_TEMPLATE_DIR="${DEFAULT_TEMPLATE_DIR:-/usr/local/share/template-files/defaults}" -#DBTYPE="sqlite" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# healthcheck -#HEALTH_ENABLED="${HEALTH_ENABLED:-$ENV_HEALTH_ENABLED}" -#HEALTH_URL="${HEALTH_URL:-}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# php settings -#PHP_VERSION="${PHP_VERSION//php/}" -#PHP_INI_DIR="${PHP_INI_DIR:-$(__find_php_ini)}" -#PHP_BIN_DIR="${PHP_BIN_DIR:-$(__find_php_bin)}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# services/ports -#ENV_PORTS="${ENV_PORTS:-}" -#SERVICE_PORT="${SERVICE_PORT:-$PORT}" -#WEB_SERVER_PORTS="${WEB_SERVER_PORTS:-$ENV_WEB_SERVER_PORTS}" -#SERVICES_LIST="${PROCS_LIST:-$SERVICES_LIST} " -# - - - - - - - - - - - - - - - - - - - - - - - - - -# networing info -DOMAINNAME="${DOMAINNAME:-}" -HOSTNAME="${HOSTNAME:-casjaysdev-GEN_SCRIPT_REPLACE_APPNAME}" -FULL_DOMAIN_NAME="${FULL_DOMAIN_NAME:-${DOMAINNAME:-$HOSTNAME}}" -SERVER_ADMIN="${SERVER_ADMIN:-root@${EMAIL_DOMAIN:-${DOMAINNAME:-$FULL_DOMAIN_NAME}}}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -EMAIL_RELAY="${EMAIL_RELAY:-}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# get ip addresses -CONTAINER_IP4_ADDRESS="${CONTAINER_IP4_ADDRESS:-$(__get_ip4)}" -CONTAINER_IP6_ADDRESS="${CONTAINER_IP6_ADDRESS:-$(__get_ip6)}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# cerbot -#CERT_BOT_MAIL="${CERT_BOT_MAIL:-}" -#CERTBOT_DOMAINS="${CERTBOT_DOMAINS:-}" -#CERT_BOT_ENABLED="${CERT_BOT_ENABLED:-false}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# ssl server settings -#SSL_ENABLED="${SSL_ENABLED:-false}" -#SSL_DIR="${SSL_DIR:-/config/ssl}" -#SSL_CA="${SSL_CA:-$SSL_DIR/ca.crt}" -#SSL_KEY="${SSL_KEY:-$SSL_DIR/server.key}" -#SSL_CERT="${SSL_CERT:-$SSL_DIR/server.crt}" -#SSL_CONTAINER_DIR="${SSL_CONTAINER_DIR:-/etc/ssl/CA}" -#COUNTRY="${COUNTRY:-US}" -#STATE="${STATE:-NY}" -#CITY="${CITY:-Albany}" -#UNIT="${UNIT:-CasjaysDev}" -#ORG="${ORG:-"Casjays Developments"}" -#DAYS_VALID="${DAYS_VALID:-3650}" -#RSA="${RSA:-4096}" -#CN="${CN:-$FULL_DOMAIN_NAME}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# web server configs -HTTPD_CONFIG_FILE="${HTTPD_CONFIG_FILE:-$(__find_httpd_conf)}" -NGINX_CONFIG_FILE="${NGINX_CONFIG_FILE:-$(__find_nginx_conf)}" -LIGHTTPD_CONFIG_FILE="${LIGHTTPD_CONFIG_FILE:-$(__find_lighttpd_conf)}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# redis env -DATABASE_DIR_REDIS="${DATABASE_DIR_REDIS:-$DATABASE_BASE_DIR/redis}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# postgresql env -DATABASE_DIR_PGSQL="${DATABASE_DIR_PGSQL:-$PGDATA}" -PGDATA="${DATABASE_DIR_PGSQL:-$DATABASE_BASE_DIR/postgres}" -POSTGRES_USER="${DATABASE_USER_ROOT:-$POSTGRES_USER}" -POSTGRES_PASSWORD="${DATABASE_PASS_ROOT:-$POSTGRES_PASSWORD}" -POSTGRES_CONFIG_FILE="${POSTGRES_CONFIG_FILE:-$(__find_pgsql_conf)}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# mariadb env -MARIADB_ROOT_HOST="${MARIADB_ROOT_HOST:-%}" -MARIADB_AUTO_UPGRADE="${MARIADB_AUTO_UPGRADE:-yes}" -MARIADB_DATABASE="${DATABASE_CREATE:-$MARIADB_DATABASE}" -MARIADB_USER="${DATABASE_USER_NORMAL:-$MARIADB_USER}" -MARIADB_PASSWORD="${DATABASE_PASS_NORMAL:-$MARIADB_PASSWORD}" -DATABASE_DIR_MARIADB="${DATABASE_DIR_MARIADB:-$DATABASE_BASE_DIR/mysql}" -MARIADB_ROOT_PASSWORD="${DATABASE_PASS_ROOT:-$MARIADB_ROOT_PASSWORD}" -MARIADB_ALLOW_EMPTY_ROOT_PASSWORD="${MARIADB_ALLOW_EMPTY_ROOT_PASSWORD:-}" -MARIADB_INITDB_SKIP_TZINFO="${MARIADB_INITDB_SKIP_TZINFO}:-" -MARIADB_RANDOM_ROOT_PASSWORD="${MARIADB_RANDOM_ROOT_PASSWORD:-}" -MARIADB_CONFIG_FILE="${MARIADB_CONFIG_FILE:-$(__find_mysql_conf)}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# mongodb env -INITDB_ROOT_USERNAME="${DATABASE_USER_ROOT:-$INITDB_ROOT_USERNAME}" -DATABASE_DIR_MONGODB="${DATABASE_DIR_MONGODB:-$DATABASE_BASE_DIR/mongodb}" -MONGO_INITDB_ROOT_PASSWORD="${DATABASE_PASS_ROOT:-$MONGO_INITDB_ROOT_PASSWORD}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# couchdb env -NODENAME="${NODENAME:-}" -COUCHDB_USER="${DATABASE_USER_ROOT:-$COUCHDB_USER}" -COUCHDB_PASSWORD="${DATABASE_PASS_ROOT:-$COUCHDB_PASSWORD}" -DATABASE_DIR_COUCHDB="${DATABASE_DIR_COUCHDB:-$DATABASE_BASE_DIR/couchdb}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# Supabase -DATABASE_DIR_SUPABASE="${DATABASE_DIR_SUPABASE:-$DATABASE_BASE_DIR/supabase}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# docker env -DOCKER_HOST="unix://var/run/docker.sock" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# File locations -ENTRYPOINT_PID_FILE="${ENTRYPOINT_PID_FILE:-/run/.entrypoint.pid}" -ENTRYPOINT_INIT_FILE="${ENTRYPOINT_INIT_FILE:-/config/.entrypoint.done}" -ENTRYPOINT_DATA_INIT_FILE="${ENTRYPOINT_DATA_INIT_FILE:-/data/.docker_has_run}" -ENTRYPOINT_CONFIG_INIT_FILE="${ENTRYPOINT_CONFIG_INIT_FILE:-/config/.docker_has_run}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# Startup variables -INIT_DATE="${INIT_DATE:-$(date)}" -START_SERVICES="${START_SERVICES:-yes}" -ENTRYPOINT_MESSAGE="${ENTRYPOINT_MESSAGE:-yes}" -ENTRYPOINT_FIRST_RUN="${ENTRYPOINT_FIRST_RUN:-yes}" -DATA_DIR_INITIALIZED="${DATA_DIR_INITIALIZED:-false}" -CONFIG_DIR_INITIALIZED="${CONFIG_DIR_INITIALIZED:-false}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -if [ -f "$ENTRYPOINT_PID_FILE" ] || [ -f "$ENTRYPOINT_INIT_FILE" ]; then - START_SERVICES="no" ENTRYPOINT_MESSAGE="no" ENTRYPOINT_FIRST_RUN="no" -fi -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/00-directory.sh b/rootfs/usr/local/share/template-files/config/env/examples/00-directory.sh deleted file mode 100644 index 8253a15..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/00-directory.sh +++ /dev/null @@ -1,10 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# directory settings -WWW_ROOT_DIR="${ENV_WWW_ROOT_DIR:-${WWW_ROOT_DIR}}" -BACKUP_DIR="${ENV_BACKUP_DIR:-${BACKUP_DIR:-/data/backups}}" -LOCAL_BIN_DIR="${ENV_LOCAL_BIN_DIR:-${LOCAL_BIN_DIR:-/usr/local/bin}}" -DATABASE_BASE_DIR="${ENV_DATABASE_BASE_DIR:-${DATABASE_BASE_DIR:-/data/db}}" -DEFAULT_DATA_DIR="${ENV_DEFAULT_DATA_DIR:-${DEFAULT_DATA_DIR:-/usr/local/share/template-files/data}}" -DEFAULT_CONF_DIR="${ENV_DEFAULT_CONF_DIR:-${DEFAULT_CONF_DIR:-/usr/local/share/template-files/config}}" -DEFAULT_TEMPLATE_DIR="${ENV_DEFAULT_TEMPLATE_DIR:-${EDEFAULT_TEMPLATE_DIR:-/usr/local/share/template-files/defaults}}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/addresses.sh b/rootfs/usr/local/share/template-files/config/env/examples/addresses.sh deleted file mode 100644 index 48a3941..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/addresses.sh +++ /dev/null @@ -1,5 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# get ip addresses -CONTAINER_IP4_ADDRESS="${CONTAINER_IP4_ADDRESS:-$(__get_ip4)}" -CONTAINER_IP6_ADDRESS="${CONTAINER_IP6_ADDRESS:-$(__get_ip6)}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/certbot.sh b/rootfs/usr/local/share/template-files/config/env/examples/certbot.sh deleted file mode 100644 index 44bb230..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/certbot.sh +++ /dev/null @@ -1,6 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# cerbot -CERT_BOT_MAIL="${ENV_CERT_BOT_MAIL:-$CERT_BOT_MAIL}" -CERTBOT_DOMAINS="${ENV_CERTBOT_DOMAINS:-$CERTBOT_DOMAINS}" -CERT_BOT_ENABLED="${ENV_CERT_BOT_ENABLED:-${CERT_BOT_ENABLED:-false}}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/couchdb.sh b/rootfs/usr/local/share/template-files/config/env/examples/couchdb.sh deleted file mode 100644 index a9bee9d..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/couchdb.sh +++ /dev/null @@ -1,7 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# couchdb env -COUCHDB_NODENAME="${ENV_COUCHDB_NODENAME:-${COUCHDB_NODENAME:-$NODENAME}}" -COUCHDB_USER="${ENV_COUCHDB_USER:-${COUCHDB_USER:-$DATABASE_USER_ROOT}}" -COUCHDB_PASSWORD="${ENV_COUCHDB_PASSWORD:-${COUCHDB_PASSWORD:-$DATABASE_PASS_ROOT}}" -DATABASE_DIR_COUCHDB="${ENV_DATABASE_DIR_COUCHDB:-${DATABASE_DIR_COUCHDB:-/data/db/couchdb}}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/dockerd.sh b/rootfs/usr/local/share/template-files/config/env/examples/dockerd.sh deleted file mode 100644 index a0c68a2..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/dockerd.sh +++ /dev/null @@ -1,4 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# docker env -DOCKER_HOST="${DOCKER_HOST:-unix://var/run/docker.sock}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/global.sh b/rootfs/usr/local/share/template-files/config/env/examples/global.sh deleted file mode 100644 index 9e9d446..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/global.sh +++ /dev/null @@ -1,13 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# GLOBAL enviroment variables -USER="${USER:-root}" -LANG="${LANG:-C.UTF-8}" -TZ="${TZ:-America/New_York}" -ENV_PORTS="${ENV_PORTS//\/*/}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# How to set permissions -SERVICE_USER="${SERVICE_USER:-}" -SERVICE_GROUP="${SERVICE_GROUP:-}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -SERVICE_UID="${SERVICE_UID:-}" # set the user id -SERVICE_GID="${SERVICE_GID:-}" # set the group id diff --git a/rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh b/rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh deleted file mode 100644 index 11141b9..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh +++ /dev/null @@ -1,5 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# healthcheck -HEALTH_ENABLED="${HEALTH_ENABLED:-}" -HEALTH_URL="${HEALTH_URL:-}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh b/rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh deleted file mode 100644 index 34afe76..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh +++ /dev/null @@ -1,14 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# mariadb env -MARIADB_ROOT_HOST="${MARIADB_ROOT_HOST:-%}" -MARIADB_AUTO_UPGRADE="${MARIADB_AUTO_UPGRADE:-yes}" -MARIADB_DATABASE="${MARIADB_DATABASE:-$DATABASE_CREATE}" -MARIADB_USER="${MARIADB_USER:-$DATABASE_USER_NORMAL}" -MARIADB_PASSWORD="${MARIADB_PASSWORD:-$DATABASE_PASS_NORMAL}" -DATABASE_DIR_MARIADB="${DATABASE_DIR_MARIADB:-/data/db/mariadb}" -MARIADB_ROOT_PASSWORD="${MARIADB_ROOT_PASSWORD:-$DATABASE_PASS_ROOT}" -MARIADB_ALLOW_EMPTY_ROOT_PASSWORD="${MARIADB_ALLOW_EMPTY_ROOT_PASSWORD:-}" -MARIADB_INITDB_SKIP_TZINFO="${MARIADB_INITDB_SKIP_TZINFO}:-" -MARIADB_RANDOM_ROOT_PASSWORD="${MARIADB_RANDOM_ROOT_PASSWORD:-}" -MARIADB_CONFIG_FILE="${MARIADB_CONFIG_FILE:-$(__find_mysql_conf)}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh b/rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh deleted file mode 100644 index 1f90f96..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh +++ /dev/null @@ -1,20 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# mongodb env -DATABASE_DIR_MONGODB="${DATABASE_DIR_MONGODB:-/data/db/mongodb}" -INITDB_ROOT_USERNAME="${DATABASE_USER_ROOT:-$INITDB_ROOT_USERNAME}" -MONGO_INITDB_ROOT_PASSWORD="${DATABASE_PASS_ROOT:-$MONGO_INITDB_ROOT_PASSWORD}" -ME_CONFIG_EDITORTHEME="${ME_CONFIG_EDITORTHEME:-dracula}" -ME_CONFIG_MONGODB_URL="${ME_CONFIG_MONGODB_URL:-mongodb://127.0.0.1:27017}" -ME_CONFIG_MONGODB_ENABLE_ADMIN="${ME_CONFIG_MONGODB_ENABLE_ADMIN:-true}" -ME_CONFIG_BASICAUTH_USERNAME="${ME_CONFIG_BASICAUTH_USERNAME:-}" -ME_CONFIG_BASICAUTH_PASSWORD="${ME_CONFIG_BASICAUTH_PASSWORD:-}" -ME_CONFIG_BASICAUTH_USERNAME_FILE="${ME_CONFIG_BASICAUTH_USERNAME_FILE:-}" -ME_CONFIG_BASICAUTH_PASSWORD_FILE="${ME_CONFIG_BASICAUTH_PASSWORD_FILE:-}" -ME_CONFIG_MONGODB_ADMINUSERNAME_FILE="${ME_CONFIG_MONGODB_ADMINUSERNAME_FILE:-}" -ME_CONFIG_MONGODB_ADMINPASSWORD_FILE="${ME_CONFIG_MONGODB_ADMINPASSWORD_FILE:-}" -ME_CONFIG_MONGODB_AUTH_USERNAME_FILE="${ME_CONFIG_MONGODB_AUTH_USERNAME_FILE:-}" -ME_CONFIG_MONGODB_AUTH_PASSWORD_FILE="${ME_CONFIG_MONGODB_AUTH_PASSWORD_FILE:-}" -ME_CONFIG_MONGODB_CA_FILE="${ME_CONFIG_MONGODB_CA_FILE:-}" -VCAP_APP_HOST="${VCAP_APP_HOST:-0.0.0.0}" -VCAP_APP_PORT="${VCAP_APP_PORT:-19054}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/networking.sh b/rootfs/usr/local/share/template-files/config/env/examples/networking.sh deleted file mode 100644 index 0f0d464..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/networking.sh +++ /dev/null @@ -1,9 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# networing info -DOMAINNAME="${DOMAINNAME:-}" -EMAIL_RELAY="${EMAIL_RELAY:-}" -HOSTNAME="${HOSTNAME:-casjaysdev-GEN_SCRIPT_REPLACE_APPNAME}" -EMAIL_DOMAIN="${EMAIL_DOMAIN:-${DOMAINNAME:-$HOSTNAME}}" -FULL_DOMAIN_NAME="${FULL_DOMAIN_NAME:-${DOMAINNAME:-$HOSTNAME}}" -SERVER_ADMIN="${SERVER_ADMIN:-root@${EMAIL_DOMAIN:-$FULL_DOMAIN_NAME}}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/other.sh b/rootfs/usr/local/share/template-files/config/env/examples/other.sh deleted file mode 100644 index d75cc03..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/other.sh +++ /dev/null @@ -1,4 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# other - -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/php.sh b/rootfs/usr/local/share/template-files/config/env/examples/php.sh deleted file mode 100644 index d9bbad1..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/php.sh +++ /dev/null @@ -1,6 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# php settings -PHP_VERSION="${PHP_VERSION//php/}" -PHP_INI_DIR="${PHP_INI_DIR:-$(__find_php_ini)}" -PHP_BIN_DIR="${PHP_BIN_DIR:-$(__find_php_bin)}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/postgres.sh b/rootfs/usr/local/share/template-files/config/env/examples/postgres.sh deleted file mode 100644 index 7fb8536..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/postgres.sh +++ /dev/null @@ -1,8 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# postgresql env -PGDATA="${DATABASE_DIR_PGSQL:-$PGDATA}" -DATABASE_DIR_PGSQL="${DATABASE_DIR_PGSQL:-/data/db/postgres}" -POSTGRES_USER="${DATABASE_USER_ROOT:-$POSTGRES_USER}" -POSTGRES_PASSWORD="${DATABASE_PASS_ROOT:-$POSTGRES_PASSWORD}" -POSTGRES_CONFIG_FILE="${POSTGRES_CONFIG_FILE:-$(__find_pgsql_conf)}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/redis.sh b/rootfs/usr/local/share/template-files/config/env/examples/redis.sh deleted file mode 100644 index 623e0ba..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/redis.sh +++ /dev/null @@ -1,4 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# redis env -DATABASE_DIR_REDIS="${DATABASE_DIR_REDIS:-/data/db/redis}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/services.sh b/rootfs/usr/local/share/template-files/config/env/examples/services.sh deleted file mode 100644 index c3a9333..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/services.sh +++ /dev/null @@ -1,7 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# services/ports -ENV_PORTS="${ENV_PORTS:-}" -SERVICE_PORT="${SERVICE_PORT:-$PORT}" -WEB_SERVER_PORTS="${WEB_SERVER_PORTS:-}" -SERVICES_LIST="${PROCS_LIST:-$SERVICES_LIST} " -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/ssl.sh b/rootfs/usr/local/share/template-files/config/env/examples/ssl.sh deleted file mode 100644 index b1e8876..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/ssl.sh +++ /dev/null @@ -1,19 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# ssl server settings -SSL_ENABLED="${SSL_ENABLED:-false}" -SSL_DIR="${SSL_CONTAINER_DIR:-/config/ssl}" -SSL_DIR="${SSL_DIR:-$SSL_DIR}" -SSL_CA="${SSL_CA:-$SSL_DIR/ca.crt}" -SSL_KEY="${SSL_KEY:-$SSL_DIR/server.key}" -SSL_CERT="${SSL_CERT:-$SSL_DIR/server.crt}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# certificate settings -RSA="${RSA:-4096}" -STATE="${STATE:-NY}" -CITY="${CITY:-Albany}" -COUNTRY="${COUNTRY:-US}" -UNIT="${UNIT:-CasjaysDev}" -ORG="${ORG:-"Casjays Developments"}" -DAYS_VALID="${DAYS_VALID:-3650}" -CN="${CN:-${FULL_DOMAIN_NAME:-$HOSTNAME}}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/supabase.sh b/rootfs/usr/local/share/template-files/config/env/examples/supabase.sh deleted file mode 100644 index 49bae3a..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/supabase.sh +++ /dev/null @@ -1,4 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# Supabase -DATABASE_DIR_SUPABASE="${DATABASE_DIR_SUPABASE:-/data/db/supabase}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/webservers.sh b/rootfs/usr/local/share/template-files/config/env/examples/webservers.sh deleted file mode 100644 index 554e47a..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/webservers.sh +++ /dev/null @@ -1,8 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# web server configs -HTTPD_CONFIG_FILE="${HTTPD_CONFIG_FILE:-$(__find_httpd_conf)}" -NGINX_CONFIG_FILE="${NGINX_CONFIG_FILE:-$(__find_nginx_conf)}" -CADDY_CONFIG_FILE="${CHEROKEE_CONFIG_FILE:-$(__find_caddy_conf)}" -LIGHTTPD_CONFIG_FILE="${LIGHTTPD_CONFIG_FILE:-$(__find_lighttpd_conf)}" -CHEROKEE_CONFIG_FILE="${CHEROKEE_CONFIG_FILE:-$(__find_cherokee_conf)}" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh b/rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh deleted file mode 100644 index 51b5729..0000000 --- a/rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh +++ /dev/null @@ -1,21 +0,0 @@ -# - - - - - - - - - - - - - - - - - - - - - - - - - -# File locations -ENTRYPOINT_PID_FILE="${ENTRYPOINT_PID_FILE:-/run/.entrypoint.pid}" -ENTRYPOINT_INIT_FILE="${ENTRYPOINT_INIT_FILE:-/config/.entrypoint.done}" -ENTRYPOINT_DATA_INIT_FILE="${ENTRYPOINT_DATA_INIT_FILE:-/data/.docker_has_run}" -ENTRYPOINT_CONFIG_INIT_FILE="${ENTRYPOINT_CONFIG_INIT_FILE:-/config/.docker_has_run}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# Startup variables -INIT_DATE="${INIT_DATE:-$(date)}" -START_SERVICES="${START_SERVICES:-yes}" -ENTRYPOINT_MESSAGE="${ENTRYPOINT_MESSAGE:-yes}" -ENTRYPOINT_FIRST_RUN="${ENTRYPOINT_FIRST_RUN:-yes}" -DATA_DIR_INITIALIZED="${DATA_DIR_INITIALIZED:-false}" -CONFIG_DIR_INITIALIZED="${CONFIG_DIR_INITIALIZED:-false}" -# - - - - - - - - - - - - - - - - - - - - - - - - - -# Check if this is a new container -[ -f "$ENTRYPOINT_PID_FILE" ] && START_SERVICES="no" -[ -f "$ENTRYPOINT_CONFIG_INIT_FILE" ] && ENTRYPOINT_FIRST_RUN="no" -[ -f "$ENTRYPOINT_DATA_INIT_FILE" ] && DATA_DIR_INITIALIZED="true" -[ -f "$ENTRYPOINT_CONFIG_INIT_FILE" ] && CONFIG_DIR_INITIALIZED="true" -# - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/rootfs/usr/local/share/template-files/data/.gitkeep b/rootfs/usr/local/share/template-files/data/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/rootfs/usr/local/share/template-files/defaults/.gitkeep b/rootfs/usr/local/share/template-files/defaults/.gitkeep deleted file mode 100644 index e69de29..0000000