-
Notifications
You must be signed in to change notification settings - Fork 4
Update Docker Deployment Path
Peter Moser edited this page Apr 4, 2022
·
1 revision
While we migrate to Github Actions it might be necessary to change the installation paths used on Docker servers. This results in two running instances of the same container with different versions. To resolve this problem we must do the following:
- Run the new Github Action (now you have both containers running on the server)
- SSH into the server
- sudo su
- Shutdown the old one: cd /var/docker/old-project-name/current; docker-compose stop
- Move the old release files to the new: cp -Ra /var/docker/old-project-name/releases /var/docker/new-project-name/releases
- chown -R noi-techpark-bot: /var/docker/new-project-name/releases
Alternative shutdown of the old container:
- Find the ID of the docker container with
docker ps
docker stop [ID]
This wiki contains additional information about the Open Data Hub alongside the Open Data Hub - Official Documentation 🔗 .