Updating a Service Running via Docker Compose
To update the docker-gitflic service, you need to build a new image. Place the gitflic.jar file next to the docker folder containing the docker-compose.yml file:  
├── docker
│   ├── default-config
│   ├── docker-compose.yml
│   ├── gitflic
│   ├── postgres
│   └── redis
│
│# The gitflic.jar file with the new GitFlic version
│
├── gitflic.jar
Steps to Update:
- 
Stop the running Docker Compose service. Navigate to the folder containing docker-compose.ymland run:sudo docker compose downdocker compose down
- 
Rebuild and restart the service with the updated image. In the same folder, run: docker compose up --builddocker compose up --build
Automatic translation!
This page has been automatically translated. The text may contain inaccuracies.