diff --git a/containers/caddy.inst b/containers/caddy.inst index 278e5ef..182950d 100755 --- a/containers/caddy.inst +++ b/containers/caddy.inst @@ -9,6 +9,7 @@ caddy_install () { if /bin/cp -r -f $dir/caddy/* $target; then pushd $target || return echo CADDY_DIR=$target >> .env + cp example.env .env source .env cp conf/example.conf conf/$CONF ./config diff --git a/containers/caddy/example.env b/containers/caddy/example.env new file mode 100644 index 0000000..bfa3cd7 --- /dev/null +++ b/containers/caddy/example.env @@ -0,0 +1,9 @@ +# copy to .env and edit to suit +COMPOSE_PROJECT_NAME=caddy +# default NAME is caddy +NAME=${COMPOSE_PROJECT_NAME} +IMAGE=ucommandit/caddy-r53 +CREDENTIALS=${DNS_CHALLENGE_CREDENTIALS:-$PWD/credentials.env} +# will use Caddyfile unless CONF is set +# this file should be in /conf on your host (e.g. my.conf) +CONF=$(hostnamectl hostname) diff --git a/containers/portainer/example.env b/containers/portainer/example.env new file mode 100644 index 0000000..40ddfeb --- /dev/null +++ b/containers/portainer/example.env @@ -0,0 +1,9 @@ +#default 9000, uncomment and set +# PORT=9005 +# default 8000, uncomment and set +# EDGE_PORT=8005 +# default is /opt/portainer/data +# DATA=/mnt/extra/containers/EDGE_PORT=8005 +# DATA superceeds PORTAINER_DIR and this is set by install script + +