Files
tor/.env.scripts
T

80 lines
3.3 KiB
Bash
Raw Normal View History

2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
##@Version : 202510220838-git
2025-01-06 09:09:27 -05:00
# @@Author : CasjaysDev
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
# @@License : MIT
# @@Copyright : Copyright 2025 CasjaysDev
2025-10-22 08:41:12 -04:00
# @@Created : Wed Oct 22 08:38:42 AM EDT 2025
2025-01-06 09:09:27 -05:00
# @@File : .env.scripts
# @@Description : Variables for gen-dockerfile and buildx scripts
2025-10-22 08:41:12 -04:00
# @@Changelog : newScript
# @@TODO : Refactor code
# @@Other : N/A
# @@Resource : N/A
# @@Terminal App : yes
# @@sudo/root : yes
# @@Template : templates/dockerfiles/dotenv.template
# - - - - - - - - - - - - - - - - - - - - - - - - -
# shellcheck disable=SC1001,SC1003,SC2001,SC2003,SC2016,SC2031,SC2120,SC2155,SC2199,SC2317,SC2329
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 09:09:27 -05:00
# entrypoint Settings
DOCKER_ENTYPOINT_PORTS_WEB="${DOCKER_ENTYPOINT_PORTS_WEB}"
DOCKER_ENTYPOINT_PORTS_SRV="${DOCKER_ENTYPOINT_PORTS_SRV}"
DOCKER_ENTYPOINT_HEALTH_APPS="$DOCKER_ENTYPOINT_HEALTH_APPS"
DOCKER_ENTYPOINT_HEALTH_ENDPOINTS="$DOCKER_ENTYPOINT_HEALTH_ENDPOINTS"
2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 09:09:27 -05:00
# Dockerfile info
ENV_DOCKERFILE="Dockerfile"
ENV_IMAGE_NAME="tor"
ENV_USE_TEMPLATE="alpine"
2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 09:09:27 -05:00
# Maintainer info
ENV_ORG_NAME="casjaysdevdocker"
ENV_VENDOR="CasjaysDev"
ENV_AUTHOR="CasjaysDev"
ENV_MAINTAINER="CasjaysDev <docker-admin@casjaysdev.pro>"
2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Repository URLs (Full URLs)
# ENV_GIT_REPO_URL: Complete Git repository URL for source code
2025-01-06 09:09:27 -05:00
ENV_GIT_REPO_URL="https://github.com/casjaysdevdocker/tor"
2025-10-22 08:41:12 -04:00
# ENV_REGISTRY_URL: Complete registry URL for reference (NOT used for pushing)
ENV_REGISTRY_URL="docker.io/casjaysdevdocker/tor"
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Push Configuration
# ENV_IMAGE_PUSH: Complete push destination (this IS used for pushing)
2025-01-06 09:09:27 -05:00
ENV_IMAGE_PUSH="casjaysdevdocker/tor"
2025-10-22 08:41:12 -04:00
# ENV_IMAGE_TAG: Default tag for the image
2025-01-06 09:09:27 -05:00
ENV_IMAGE_TAG="latest"
2025-10-22 08:41:12 -04:00
# ENV_ADD_TAGS: Additional tags, comma-separated (USE_DATE = auto date tag)
2025-01-06 14:08:20 -05:00
ENV_ADD_TAGS="USE_DATE"
2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Additional push destinations (if needed)
2025-01-06 09:09:27 -05:00
ENV_ADD_IMAGE_PUSH=""
2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
# Pull Configuration
# ENV_PULL_URL: Source image to pull from (base image)
2025-01-06 09:09:27 -05:00
ENV_PULL_URL="casjaysdev/alpine"
2025-10-22 08:41:12 -04:00
# ENV_DISTRO_TAG: Tag for the pull source image
2025-01-06 09:09:27 -05:00
ENV_DISTRO_TAG="${IMAGE_VERSION}"
2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 09:09:27 -05:00
# Env
SERVICE_PORT="80"
2025-11-23 08:15:36 -05:00
EXPOSE_PORTS="8118 9050 9053 9080 9053/udp 57000-57007"
2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 09:09:27 -05:00
# Versions
2025-01-29 13:43:57 -05:00
PHP_VERSION="84"
2025-01-06 09:09:27 -05:00
NODE_VERSION="system"
NODE_MANAGER="system"
2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-01-06 09:09:27 -05:00
# Default directories
2025-02-03 15:20:20 -05:00
WWW_ROOT_DIR="/usr/local/share/httpd/default"
2025-01-06 09:09:27 -05:00
DEFAULT_FILE_DIR="/usr/local/share/template-files"
DEFAULT_DATA_DIR="/usr/local/share/template-files/data"
DEFAULT_CONF_DIR="/usr/local/share/template-files/config"
DEFAULT_TEMPLATE_DIR="/usr/local/share/template-files/defaults"
2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
2025-11-23 08:15:36 -05:00
ENV_PACKAGES='bc tor torsocks lyrebird privoxy unbound nginx php$PHP_VERSION'
2025-10-22 08:41:12 -04:00
# - - - - - - - - - - - - - - - - - - - - - - - - -
# ex: ts=2 sw=2 et filetype=sh
# - - - - - - - - - - - - - - - - - - - - - - - - -