You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Double checking *how* to upgrade 4CAT with docker from the command-line #453
I am specifically interested in the docker approach. Just double checking that it is sufficient to
just update the .env and docker-compose.yml files (i.e. get newer 4CAT image), and that it is not necessary to update the rest of the files from the github repo (e.g. with git pull or similar)?
If I understand you correctly, it would indeed be sufficient to update docker-compose.yml and .env. This Docker Compose file pulls images from DockerHub, so it does not rely on the local source code to build 4CAT. If you want to build your own containers based on local source code, you would use docker-compose_build.yml instead.
We don't really have instructions on how to upgrade in the latter case, since typically this would be done to be able to make your own changes to the code, in which case upgrading is tricky (since updates may not be compatible with your changes, etc).
Activity
stijn-uva commentedon Sep 16, 2024
If I understand you correctly, it would indeed be sufficient to update
docker-compose.ymland.env. This Docker Compose file pulls images from DockerHub, so it does not rely on the local source code to build 4CAT. If you want to build your own containers based on local source code, you would usedocker-compose_build.ymlinstead.We don't really have instructions on how to upgrade in the latter case, since typically this would be done to be able to make your own changes to the code, in which case upgrading is tricky (since updates may not be compatible with your changes, etc).
LAMaglan commentedon Sep 16, 2024
Great, thanks for the clarification. You may close the issue.