-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add CERTBOT_EMAIL to docker-compose.yaml
- Loading branch information
1 parent
8791bc2
commit 388229a
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/bin/bash | ||
|
||
domains=($SERVER_NAME) | ||
domains=($SERVER_NAME www.$SERVER_NAME) | ||
rsa_key_size=4096 | ||
data_path="./data/certbot" | ||
email="[email protected]" | ||
staging=0 # Set to 1 if you're testing your setup to avoid hitting request limits | ||
email=$CERTBOT_EMAIL | ||
staging=0 # Set to 1 to avoid hitting request limits | ||
|
||
if [ -d "$data_path" ]; then | ||
read -p "Existing data found for $domains. Continue and replace existing certificate? (y/N) " decision | ||
|