mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-18 20:39:36 +02:00
Clean up files after postgis migration
This commit is contained in:
parent
e489a70980
commit
ffde90e6f5
3 changed files with 4 additions and 2 deletions
|
@ -1,2 +0,0 @@
|
||||||
CREATE EXTENSION IF NOT EXISTS postgis;
|
|
||||||
CREATE EXTENSION IF NOT EXISTS postgis_topology;
|
|
|
@ -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 \
|
docker run --rm \
|
||||||
-v adventurelog_adventurelog_media:/backup-volume \
|
-v adventurelog_adventurelog_media:/backup-volume \
|
||||||
-v "$(pwd)":/backup \
|
-v "$(pwd)":/backup \
|
||||||
|
|
|
@ -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"
|
echo "Deploying latest version of AdventureLog"
|
||||||
docker compose pull
|
docker compose pull
|
||||||
echo "Stating containers"
|
echo "Stating containers"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue