Skip to main content

Updating Guide

Here is short guide of how to update Finmars.

Warning: Do backup before doing update!

To find latest version go to https://github.com/finmars-platform/finmars-core repository to see latest Tag

  1. Connect to your VM
    Example:
  2. Go to Finmars Directory
    cd /opt/finmars
  3. Edit docker-compose.yml
    replace version in property image: e.g. finmars-core:1.18.0 to finmars-core:1.19.0
    services:
      
      #...
    
      core:
        image: docker.io/finmars/finmars-core:1.18.0 # replace to 1.19.0
        volumes:
          - ../finmars-core/poms:/var/app/poms
        env_file:
          - .env
        environment:
          - DB_NAME=core_realm00000
        depends_on:
          - db
          - rabbitmq
          - redis
          - keycloak
        ports:
          - "8000:8080"
    
    
      workflow:
        image: docker.io/finmars/finmars-workflow:1.18.0 # replace to 1.19.0
        volumes:
          - ../finmars-workflow/workflow:/var/app/workflow
        env_file:
          - .env
        environment:
          - DB_NAME=workflow_realm00000
        depends_on:
          - db
          - rabbitmq
          - redis
          - keycloak
        ports:
          - "8001:8080"
    
    
      portal:
        image: docker.io/finmars/finmars-portal:1.18.0 # replace to 1.19.0
        env_file:
          - .env
        ports:
          - "8080:8080" 
    
      vue-portal:
        image: docker.io/finmars/finmars-vue-portal:1.18.0 # replace to 1.19.0
        environment:
          - NUXT_APP_BUILD_ASSETS_DIR=/realm00000/v/_nuxt/
        env_file:
          - .env
        ports:
          - "8081:8080"
    
      workflow-portal:
        image: docker.io/finmars/finmars-workflow-vue-portal:1.18.0 # replace to 1.19.0
        environment:
          - NUXT_APP_BUILD_ASSETS_DIR=/realm00000/w/_nuxt/
        env_file:
          - .env
        ports:
          - "8082:8080"
  4. Apply changes
    make migrate
    make up

Well done!