digital-asset / digital-asset/cn-quickstart

Restartability for long-running instances

Open
#148 0 comments 0 reactions 2 assignees Claimed by @pgarmaz-da View on GitHub
Dominant language
Haskell
Stars
49
Forks
40
Avg merge
4d 11h
Merged PRs (30d)
5

Description

## Background

Quickstart needs to progress in it's ability to run a long-lived instance. Therefore it needs to persist it's onboarding configuration, and state in general.

The intent here is that this opens up Quickstart to be a playground for practicing longer term operations, such as domain migrations, network and application upgrades. Presently this is not possible due to the current ephemeral nature of the containers

## Questions

* What is the impact on Splice LocalNet to facilitate this?

## Proposed Tasks

* Ensure onboarding/startup processes idempotent
* Enable persisted volumes that will survive a restart:
* PostgreSQL data
* Configuration
* Anything else?
* Consider startup orchestration/ordering that may be impacted by subsequent starts
* Make command to "stop" all containers (if not already the case)
* Make "clean-volumes" to remove all docker volumes (in order to start fresh again)
* Make "clean" becomes "clean-build"?

## Verification

Make sure that everything can be restarted (even docker/host), and things can be resumed again where they left off.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.