diff --git a/docker-compose/setup-script/noco.sh b/docker-compose/setup-script/noco.sh index 422ea0026d..58b90b8b08 100644 --- a/docker-compose/setup-script/noco.sh +++ b/docker-compose/setup-script/noco.sh @@ -233,7 +233,7 @@ services: labels: - "com.centurylinklabs.watchtower.enable=true" db: - image: postgres:latest + image: postgres:16.1 env_file: docker.env volumes: - ./postgres:/var/lib/postgresql/data @@ -250,7 +250,7 @@ services: - ./nginx:/etc/nginx/conf.d EOF -if [ "$SSL_ENABLED" = 'y' ]; then +if [ "$SSL_ENABLED" = 'y' ] || [ "$SSL_ENABLED" = 'Y' ]; then cat <> docker-compose.yml - webroot:/var/www/certbot - ./letsencrypt:/etc/letsencrypt @@ -266,7 +266,7 @@ cat <> docker-compose.yml restart: unless-stopped EOF -if [ "$SSL_ENABLED" = 'y' ]; then +if [ "$SSL_ENABLED" = 'y' ] || [ "$SSL_ENABLED" = 'Y' ]; then cat <> docker-compose.yml certbot: image: certbot/certbot @@ -292,7 +292,7 @@ cat <> docker-compose.yml EOF fi -if [ "$SSL_ENABLED" = 'y' ]; then +if [ "$SSL_ENABLED" = 'y' ] || [ "$SSL_ENABLED" = 'Y' ]; then cat <> docker-compose.yml volumes: letsencrypt-lib: @@ -317,7 +317,7 @@ server { listen 80; EOF -if [ "$SSL_ENABLED" = 'y' ]; then +if [ "$SSL_ENABLED" = 'y' ] || [ "$SSL_ENABLED" = 'Y' ]; then cat >> ./nginx/default.conf <> ./nginx/default.conf <> ./nginx/default.conf <> ./nginx/default.conf < ./update.sh <