File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11version : ' 2'
22services :
33 minigrid :
4- image : selcolumbia/minigrid-server:0.0.6
4+ image : selcolumbia/minigrid-server:0.0.7
55 command : ./prod/run.sh --db_host=db --redis_url=redis://redis:6379/0 --minigrid-website-url=https://www.example.com
66 depends_on :
77 - redis
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
2- # Minigrid Server installer for version 0.0.6
2+ # Minigrid Server installer for version 0.0.7
33set -e
44
55# Do you have docker installed?
@@ -108,8 +108,8 @@ $SUDO openssl dhparam -out /etc/letsencrypt/live/$LETSENCRYPT_DIR/dhparam.pem 20
108108printf " ========================================\n"
109109printf " Downloading configuration files \n"
110110printf " ========================================\n"
111- $CURL -L https://raw.githubusercontent.com/SEL-Columbia/minigrid-server/0.0.6 /prod/docker-compose.yml > docker-compose.yml
112- $CURL -L https://raw.githubusercontent.com/SEL-Columbia/minigrid-server/0.0.6 /prod/nginx.conf > nginx.conf
111+ $CURL -L https://raw.githubusercontent.com/SEL-Columbia/minigrid-server/0.0.7 /prod/docker-compose.yml > docker-compose.yml
112+ $CURL -L https://raw.githubusercontent.com/SEL-Columbia/minigrid-server/0.0.7 /prod/nginx.conf > nginx.conf
113113
114114sed -i s/www.example.com/$LETSENCRYPT_DIR /g docker-compose.yml
115115sed -i s/www.example.com/$LETSENCRYPT_DIR /g nginx.conf
@@ -142,7 +142,7 @@ CRON_CMD="mkdir -p /tmp/letsencrypt && "\
142142" -v /var/lib/letsencrypt:/var/lib/letsencrypt:Z" \
143143" -v /tmp:/tmp:Z" \
144144" -v /var/log/letsencrypt:/var/log/letsencrypt:Z" \
145- " quay.io/letsencrypt/letsencrypt renew --quiet --webroot-path /tmp/letsencrypt --post-hook 'touch /tmp/renewed' ; " \
145+ " quay.io/letsencrypt/letsencrypt renew --quiet --webroot --webroot -path /tmp/letsencrypt --post-hook 'touch /tmp/renewed' ; " \
146146" if [ -f /tmp/renewed ] ; then docker restart $NGINX_CONTAINER_NAME ; fi ; " \
147147" rm -f /tmp/renewed"
148148# https://certbot.eff.org/#ubuntuxenial-nginx recommends running this twice a day on random minute within the hour
You can’t perform that action at this time.
0 commit comments