Fix LE connect and renewal functions and path of SSL certs in stations container.

This commit is contained in:
Buster "Silver Eagle" Neece 2019-01-14 10:14:24 -06:00
parent a0354d276d
commit 601f488726
2 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ services:
volumes:
- station_data:/var/azuracast/stations
- shoutcast2_install:/var/azuracast/servers/shoutcast2
- letsencrypt:/etc/letsencrypt:ro
- letsencrypt:/etc/nginx/ssl:ro
init: true
restart: always
logging: *default-logging

View File

@ -239,7 +239,7 @@ uninstall() {
# Usage: ./docker.sh letsencrypt-create domainname.example.com
#
letsencrypt-create() {
docker-compose run --user="azuracast" --rm web letsencrypt_connect $*
docker-compose exec --user="azuracast" web letsencrypt_connect $*
}
#
@ -247,7 +247,7 @@ letsencrypt-create() {
# Usage: ./docker.sh letsencrypt-renew
#
letsencrypt-renew() {
docker-compose run --user="azuracast" --rm web letsencrypt_renew $*
docker-compose exec --user="azuracast" web letsencrypt_renew $*
}
$*