Compare commits

...

3 Commits

Author SHA1 Message Date
b07cbe6f0f
Update lnplay. 2023-12-15 16:46:41 -05:00
10d9e132c7
Update Ghost and nginx images for www. 2023-12-15 16:44:28 -05:00
37ca0678f7
Only pull image when needed. 2023-12-15 16:44:06 -05:00
8 changed files with 26 additions and 13 deletions

2
lnplay

@ -1 +1 @@
Subproject commit e9a18f9385414c1dc34381f39c2709cf115c907f
Subproject commit 9384f74c3a4a088a57d8aba13ab58f1cd843764d

View File

@ -34,7 +34,7 @@ DEFAULT_DB_IMAGE="mariadb:10.11.2-jammy"
# run the docker stack.
export GHOST_IMAGE="ghost:5.53.3"
export GHOST_IMAGE="ghost:5.75.1"
# TODO switch to mysql. May require intricate export work for existing sites.
# THIS MUST BE COMPLETED BEFORE v1 RELEASE
@ -42,7 +42,7 @@ export GHOST_IMAGE="ghost:5.53.3"
export GHOST_DB_IMAGE="mysql:8.0.32"
export NGINX_IMAGE="nginx:1.25.1"
export NGINX_IMAGE="nginx:latest"
# version of backup is 24.0.3
export NEXTCLOUD_IMAGE="nextcloud:25.0.4"

View File

@ -3,7 +3,10 @@
set -e
# let's do a refresh of the certificates. Let's Encrypt will not run if it's not time.
docker pull certbot/certbot:latest
CERTBOT_IMAGE_NAME="certbot/certbot:latest"
if ! docker image inspect "$CERTBOT_IMAGE_NAME" &> /dev/null; then
docker pull "$CERTBOT_IMAGE_NAME"
fi
# iterate over each domain and call certbot
for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do

View File

@ -3,8 +3,9 @@
set -eu
cd "$(dirname "$0")"
docker pull "$GHOST_IMAGE"
if ! docker image inspect "$GHOST_IMAGE" &> /dev/null; then
docker pull "$GHOST_IMAGE"
fi
DEPLOY_STACK=false
for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do

View File

@ -4,8 +4,13 @@ set -eu
cd "$(dirname "$0")"
docker pull "$GITEA_IMAGE"
docker pull "$GITEA_DB_IMAGE"
if ! docker image inspect "$GITEA_IMAGE" &> /dev/null; then
docker pull "$GITEA_IMAGE"
fi
if ! docker image inspect "$GITEA_DB_IMAGE" &> /dev/null; then
docker pull "$GITEA_DB_IMAGE"
fi
for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
export DOMAIN_NAME="$DOMAIN_NAME"

View File

@ -3,9 +3,9 @@
set -eu
cd "$(dirname "$0")"
docker pull "$NEXTCLOUD_IMAGE"
if ! docker image inspect "$NEXTCLOUD_IMAGE" &> /dev/null; then
docker pull "$NEXTCLOUD_IMAGE"
fi
for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
export DOMAIN_NAME="$DOMAIN_NAME"

View File

@ -3,7 +3,9 @@
set -e
cd "$(dirname "$0")"
docker pull "$NGINX_IMAGE"
if ! docker image inspect "$NEXTCLOUD_IMAGE" &> /dev/null; then
docker pull "$NGINX_IMAGE"
fi
#https://github.com/fiatjaf/expensive-relay
# NOSTR RELAY WHICH REQUIRES PAYMENTS.

View File

@ -3,7 +3,9 @@
set -eu
cd "$(dirname "$0")"
docker pull "$NOSTR_RELAY_IMAGE"
if ! docker image inspect "$NOSTR_RELAY_IMAGE" &> /dev/null; then
docker pull "$NOSTR_RELAY_IMAGE"
fi
for DOMAIN_NAME in ${DOMAIN_LIST//,/ }; do
export DOMAIN_NAME="$DOMAIN_NAME"