add example.env and copy that to .env in install script
parent
0efd6a0b9e
commit
50e2144c20
|
@ -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
|
||||
|
|
|
@ -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)
|
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue