How to maintain the start-stack
command
The start-stack command
starts Docker containers of DSP-API and DSP-APP,
in the version that is running on https://admin.dasch.swiss.
In addition to the containers,
a number of files from the DSP-API GitHub repository is necessary.
The version of the docker images and these files must be the same.
The version is configured in the following files in src/dsp_tools/resources/start-stack/
:
docker-compose.yml
: The 4 variablesservices/{app,db,sipi,api}/image
must point to the DockerHub image of the last deployed version. The versions can be found in the ops-deploy repostart-stack-config.yml
: The variableDSP-API commit
must be the commit hash of DSP-API of the version that is running on https://admin.dasch.swiss. Just take the commit hash of the latest DSP-API release from the DSP-API GitHub repo
Last update:
June 29, 2023