mirror of
https://github.com/casjaysdevdocker/proftpd
synced 2026-11-08 09:22:27 -05:00
proftpd / release-proftpd (push) Failing after 1m9s
Rename proftp to proftpd, install proftpd with mod_tls, serve /var/ftp with a single config file, and reload proftpd when the cert changes. - .env.scripts: rename proftp to proftpd; SERVICE_PORT 21, EXPOSE_PORTS 49152-65534; add proftpd packages - Dockerfile: rename proftp to proftpd; port ARGs; PACK_LIST with proftpd, mod_tls, mod_readme, utils, openssl; labels from gen-dockerfile update - README.md: ports 21 and passive range; mounts for /var/ftp and /etc/letsencrypt - rootfs/.gitea/workflows/docker.yaml: rename proftp to proftpd - rootfs/tmp/etc/proftpd/proftpd.conf: single config, anonymous root /var/ftp, TLS 1.2/1.3 with certs at /etc/letsencrypt/live/domain, logs in /data/logs/proftpd - rootfs/usr/local/etc/docker/init.d/99-proftpd.sh: regenerate from current start-service template; add self-signed cert fallback, cert watcher that sends HUP on change, log dir chmod - rootfs/usr/local/etc/docker/functions/entrypoint.sh: use if blocks for debug echoes so set -e no longer exits the container when DEBUGGER is off - TODO.AI.md: log upstream template follow-ups (exit code 20, function-final [ ] && tails) - README.md: updated (ports and mounts for FTP and Let's Encrypt)
81 lines
3.3 KiB
Bash
81 lines
3.3 KiB
Bash
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
##@Version : 202611060818-git
|
|
# @@Author : CasjaysDev
|
|
# @@Contact : CasjaysDev <docker-admin@casjaysdev.pro>
|
|
# @@License : WTFPL
|
|
# @@Copyright : Copyright 2026 CasjaysDev
|
|
# @@Created : Fri Nov 6 08:18:16 AM EST 2026
|
|
# @@File : .env.scripts
|
|
# @@Description : Variables for gen-dockerfile and buildx scripts
|
|
# @@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,SC2090,SC2115,SC2120,SC2155,SC2199,SC2229,SC2317,SC2329
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# 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"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Dockerfile info
|
|
ENV_DOCKERFILE="Dockerfile"
|
|
# ENV_REGISTRY_REPO: Registry repository/image name
|
|
ENV_REGISTRY_REPO="proftpd"
|
|
ENV_USE_TEMPLATE="alpine"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Maintainer info
|
|
ENV_REGISTRY_ORG="casjaysdevdocker"
|
|
ENV_VENDOR="CasjaysDev"
|
|
ENV_AUTHOR="CasjaysDev"
|
|
ENV_MAINTAINER="CasjaysDev <docker-admin@casjaysdev.pro>"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Repository URLs (Full URLs)
|
|
# ENV_GIT_REPO_URL: Complete Git repository URL for source code
|
|
ENV_GIT_REPO_URL="https://github.com/casjaysdevdocker/proftpd"
|
|
# ENV_REGISTRY_URL: Registry provider base URL (for example https://docker.io)
|
|
ENV_REGISTRY_URL="https://docker.io"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Push Configuration
|
|
# ENV_REGISTRY_PUSH: Complete push destination derived from registry/org/repo
|
|
ENV_REGISTRY_PUSH="casjaysdevdocker/proftpd"
|
|
# ENV_IMAGE_TAG: Default tag for the image
|
|
ENV_IMAGE_TAG="latest"
|
|
# ENV_ADD_TAGS: Additional tags, comma-separated (USE_DATE = auto date tag)
|
|
ENV_ADD_TAGS=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Additional push destinations (if needed)
|
|
ENV_ADD_IMAGE_PUSH=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Pull Configuration
|
|
# ENV_PULL_URL: Source image to pull from (base image)
|
|
ENV_PULL_URL="casjaysdev/alpine"
|
|
# ENV_DISTRO_TAG: Tag for the pull source image
|
|
ENV_DISTRO_TAG="${IMAGE_VERSION}"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Env
|
|
SERVICE_PORT="21"
|
|
EXPOSE_PORTS="49152-65534"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# IF using a lanuage such as go, php, rust, ruby, etc set the version here.
|
|
LANG_VERSION=""
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Versions
|
|
PHP_VERSION="system"
|
|
NODE_VERSION="system"
|
|
NODE_MANAGER="system"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# Default directories
|
|
WWW_ROOT_DIR="/usr/local/share/httpd/default"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
ENV_PACKAGES="proftpd proftpd-mod_tls proftpd-mod_readme proftpd-utils openssl"
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
# ex: ts=2 sw=2 et filetype=sh
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|