Skip to content

Best way to update the decider docker container #44

Answered by damionmounts
nebu10uz asked this question in Q&A
Discussion options

You must be logged in to vote

Hello - great question!

Present

As it stands, updates are as simple as:

sudo docker compose down
git pull
sudo docker compose up --build
  • Wipe containers (keeps database volume)
  • Get Git updates
  • Rebuild + start containers

No sufficiently large changes have occurred just yet - so the app has been kept at '1.0.0'.
This will be incremented in the future and tags will be used to denote versions in the repo.

Future

The future holds eventual database schema changes.
These will result in the need for upgrade / migration scripts.

The plan is for this to be transparent to the user.
The app will check the database's schema on launch and upgrade if necessary, then run as normal.

Extra Commentary

If …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nebu10uz
Comment options

Answer selected by damionmounts
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants