diff --git a/README.md b/README.md index 937223d..7c98e9f 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Run # AI_SERVICE_IP="10.88.0.1" AI_SERVICE_HOST="host.containers.internal" -doas podman run -itd \ +doas podman run --restart=always -itd \ --name instant-ai \ -e DOMAIN=$DOMAIN \ -e CF_Token=$CF_Token \ diff --git a/entrypoint.sh b/entrypoint.sh index 1008135..e572d66 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -256,7 +256,7 @@ EOF if [ ! -e "$SSL_FULL_CHAIN" ] && [ -e $NG_ACME ]; then mkdir -p $NG_SSL - $NG_ACME --issue -d "$AI_FULL_DOMAIN" --dns dns_cf -k ec-256 + $NG_ACME --server letsencrypt --issue -d "$AI_FULL_DOMAIN" --dns dns_cf -k ec-256 $NG_ACME --install-cert -d "$AI_FULL_DOMAIN" \ --key-file "$SSL_KEY" \ --fullchain-file "$SSL_FULL_CHAIN" \