mirror of
https://github.com/casjaysdevdocker/redis
synced 2025-01-18 00:34:26 -05:00
🗃️ Updated functions and entrypoint files 🗃️
rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh
This commit is contained in:
parent
73903154f6
commit
a4c80dd9e8
@ -1,19 +1,19 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
##@Version : 202309022254-git
|
##@Version : 202309030145-git
|
||||||
# @@Author : Jason Hempstead
|
# @@Author : Jason Hempstead
|
||||||
# @@Contact : jason@casjaysdev.pro
|
# @@Contact : git-admin@casjaysdev.pro
|
||||||
# @@License : WTFPL
|
# @@License : WTFPL
|
||||||
# @@ReadME : docker-entrypoint --help
|
# @@ReadME : entrypoint.sh --help
|
||||||
# @@Copyright : Copyright: (c) 2023 Jason Hempstead, Casjays Developments
|
# @@Copyright : Copyright: (c) 2023 Jason Hempstead, Casjays Developments
|
||||||
# @@Created : Saturday, Sep 02, 2023 22:54 EDT
|
# @@Created : Sunday, Sep 03, 2023 01:45 EDT
|
||||||
# @@File : docker-entrypoint
|
# @@File : entrypoint.sh
|
||||||
# @@Description :
|
# @@Description : entrypoint script for docker container
|
||||||
# @@Changelog : New script
|
# @@Changelog : newScript
|
||||||
# @@TODO : Better documentation
|
# @@TODO : Refactor code
|
||||||
# @@Other :
|
# @@Other :
|
||||||
# @@Resource :
|
# @@Resource :
|
||||||
# @@Terminal App : no
|
# @@Terminal App : no
|
||||||
# @@sudo/root : no
|
# @@sudo/root : no
|
||||||
# @@Template : other/docker-entrypoint
|
# @@Template : other/docker-entrypoint
|
||||||
@ -105,6 +105,10 @@ export TZ="${TZ:-${TIMEZONE:-America/New_York}}"
|
|||||||
export HOSTNAME="${FULL_DOMAIN_NAME:-${SERVER_HOSTNAME:-$HOSTNAME}}"
|
export HOSTNAME="${FULL_DOMAIN_NAME:-${SERVER_HOSTNAME:-$HOSTNAME}}"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Default directories
|
# Default directories
|
||||||
|
export SSL_DIR="${SSL_DIR:-/config/ssl}"
|
||||||
|
export SSL_CA="${SSL_CERT:-/config/ssl/ca.crt}"
|
||||||
|
export SSL_KEY="${SSL_KEY:-/config/ssl/localhost.pem}"
|
||||||
|
export SSL_CERT="${SSL_CERT:-/config/ssl/localhost.crt}"
|
||||||
export BACKUP_DIR="${BACKUP_DIR:-/data/backups}"
|
export BACKUP_DIR="${BACKUP_DIR:-/data/backups}"
|
||||||
export LOCAL_BIN_DIR="${LOCAL_BIN_DIR:-/usr/local/bin}"
|
export LOCAL_BIN_DIR="${LOCAL_BIN_DIR:-/usr/local/bin}"
|
||||||
export DEFAULT_DATA_DIR="${DEFAULT_DATA_DIR:-/usr/local/share/template-files/data}"
|
export DEFAULT_DATA_DIR="${DEFAULT_DATA_DIR:-/usr/local/share/template-files/data}"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
##@Version : 202308281453-git
|
##@Version : 202309030111-git
|
||||||
# @@Author : Jason Hempstead
|
# @@Author : Jason Hempstead
|
||||||
# @@Contact : git-admin@casjaysdev.pro
|
# @@Contact : git-admin@casjaysdev.pro
|
||||||
# @@License : WTFPL
|
# @@License : LICENSE.md
|
||||||
# @@ReadME : docker-entrypoint --help
|
# @@ReadME : docker-entrypoint --help
|
||||||
# @@Copyright : Copyright: (c) 2023 Jason Hempstead, Casjays Developments
|
# @@Copyright : Copyright: (c) 2023 Jason Hempstead, Casjays Developments
|
||||||
# @@Created : Monday, Aug 28, 2023 14:53 EDT
|
# @@Created : Sunday, Sep 03, 2023 01:40 EDT
|
||||||
# @@File : docker-entrypoint
|
# @@File : docker-entrypoint
|
||||||
# @@Description : functions for my docker containers
|
# @@Description : functions for my docker containers
|
||||||
# @@Changelog : newScript
|
# @@Changelog : newScript
|
||||||
|
Loading…
x
Reference in New Issue
Block a user