Skip to content
Snippets Groups Projects
Verified Commit 1b1840f1 authored by Armin Co's avatar Armin Co
Browse files

Start LetsEncrypt once to generate certs

parent 1ff63532
No related branches found
No related tags found
No related merge requests found
......@@ -60,8 +60,14 @@ function configure_letsencrypt() {
sed -i "s/your_email/$mail/" $le_compose
# to use not only subdomains disable next line
# sed -i "s/- ONLY_SUBDOMAINS=true/- ONLY_SUBDOMAINS=false/" $le_dir
# start once to generate directories and certificates
docker-compose -f $le_compose up -d && docker-compose -f $le_compose down
echo ""
echo "Done configuring LetsEncrypt and generating certificates."
}
## Run configuration
#
echo ""
......@@ -71,6 +77,5 @@ echo ""
remove_all
clone_repositories
# configure letsencrypt
configure_letsencrypt
\ No newline at end of file
#!/bin/bash
# get all docker-compose files
compose_files=$(./compose_files_conf.sh)
compose=$(echo $compose_files | sed 's/-f / /g')
echo $compose
\ No newline at end of file
docker logs $(docker ps -q) -f
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment