Skip to content

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:

  1. Stop the running Docker Compose service. Navigate to the folder containing docker-compose.yml and run:

    sudo docker compose down  
    
    docker compose down  
    
  2. Rebuild and restart the service with the updated image. In the same folder, run:

    docker compose up --build  
    
    docker compose up --build  
    

Automatic translation!

This page has been automatically translated. The text may contain inaccuracies.