diff --git a/backend/init-postgis.sql b/backend/init-postgis.sql deleted file mode 100644 index 032f6f9f..00000000 --- a/backend/init-postgis.sql +++ /dev/null @@ -1,2 +0,0 @@ -CREATE EXTENSION IF NOT EXISTS postgis; -CREATE EXTENSION IF NOT EXISTS postgis_topology; \ No newline at end of file diff --git a/backup.sh b/backup.sh index d85a5f2a..69d5b120 100644 --- a/backup.sh +++ b/backup.sh @@ -1,3 +1,5 @@ +# This script will create a backup of the adventurelog_media volume and store it in the current directory as adventurelog-backup.tar.gz + docker run --rm \ -v adventurelog_adventurelog_media:/backup-volume \ -v "$(pwd)":/backup \ diff --git a/deploy.sh b/deploy.sh index 4844fb77..9548c7c2 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,3 +1,5 @@ +# This script is used to deploy the latest version of AdventureLog to the server. It pulls the latest version of the Docker images and starts the containers. It is a simple script that can be run on the server, possibly as a cron job, to keep the server up to date with the latest version of the application. + echo "Deploying latest version of AdventureLog" docker compose pull echo "Stating containers"