deployment guide GN
For app-gelinkt-notuleren
set up the maintenance frontend in docker-compose.override.yml
optional: create a backup of the database with
/data/useful-scripts/virtuoso-backup.sh ${name-of-container}
bring down everything with docker-compose down
bring up just the maintenance frontend with
docker-compose up -d editor
git checkout the relevant tag
docker-compose up -d virtuoso migrations
check if migrations have finished successfully with
docker-compose logs -f migrations
if necessary modify/add new environment variables in docker-compose.override.yml
remove (comment out) maintenance frontend from docker-compose.override.yml
start the stack
docker-compose up -d
verify it's up
after the deploy update the deployment table in the relevant changelog file
For app-gn-publicatie
set up the maintenance frontend in docker-compose.override.yml
optional: create a backup of the database with
/data/useful-scripts/virtuoso-backup.sh ${name-of-container}
bring down everything with docker-compose down
bring up just the maintenance frontend with
docker-compose up -d maintenance
git checkout the relevant tag
docker-compose up -d virtuoso migrations
check if migrations have finished successfully with
docker-compose logs -f migrations
if necessary modify/add new environment variables in docker-compose.override.yml
remove (comment out) maintenance frontend from docker-compose.override.yml
start the stack
docker-compose up -d --remove-orphans
(remove orphans removes the maintenance frontend)verify it's up
after the deploy tag the commit that was deployed with a new version number
Last updated