This commit is contained in:
Your Name
2025-04-25 13:15:28 +12:00
parent 0b5fea7b71
commit d88a691b9b
7 changed files with 16 additions and 10 deletions

View File

@ -1,5 +1,4 @@
# Service settings specific to this server
TEMPLATE=example
# Application settings
CONTAINER_PORT=8181

View File

@ -1,6 +1,8 @@
# Template to use - always required!
TEMPLATE=example
# Service settings specific to this server
# (can also override anything in the _basic.env file in the template to make it specific to this server)
HOST_PORT=80
LOCAL_DATA_FOLDER="${HOME}/.example"
IMAGE_TAG="latest"

View File

@ -1,6 +1,4 @@
# Service settings
TEMPLATE=watchtower
CONTAINER_NAME=watchtower
# Interval in seconds between checks.

View File

@ -63,6 +63,10 @@ grey_end() {
}
create_and_start_container() {
if [ -z "$1" ] || [ -z "$2" ]; then
die "Template error: create_and_start_container <run_cmd> <container_name>"
fi
local run_cmd="$1"
local container_name="$2"

View File

@ -1,6 +1,9 @@
# Service settings
# Template to use - always required!
TEMPLATE=watchtower
# Service settings specific to this server
# (can also override anything in the _basic.env file in the template to make it specific to this server)
# Interval in seconds between checks.
# Default is 1800 seconds (30 minutes).
INTERVAL=1800
INTERVAL=1800