How Can We Help?

Search for answers or browse our knowledge base.

Recent Comments

    Archives

      Solutions

      Docs

      Contact

      SYNCNOW

      SyncNow logo SyncNow – connect teams , tools and processes

      Docker Compose

      < All Topics

      SyncNow can be deployed from with a docker compose file.

      Docker Environment Parameters

      Environment ParameterDefault Value
      SETTINGS__DATABASECONFIGURATION__DATABASETYPESQLLite
      SETTINGS__DATABASECONFIGURATION__SERVERlocalhost
      SETTINGS__DATABASECONFIGURATION__PORT5432
      SETTINGS__DATABASECONFIGURATION__USERNAMEPostrgeSQL
      SETTINGS__DATABASECONFIGURATION__PASSWORDQ1w2e3r4t5y6
      SETTINGS__DATABASECONFIGURATION__WINDOWSAUTHFALSE
      SETTINGS__DATABASECONFIGURATION__TRANSPORTENCRYPTFALSE
      SETTINGS__DATABASECONFIGURATION__DATABASESyncNow
      KESTREL__ENDPOINTS__HTTP__URLhttp://+:5030
      KESTREL__ENDPOINTS__HTTPS__URLhttp://+:5031

      SyncNow – PostrgreSQL

      Below is a docker-compose file with postgres and SyncNow

      version: '3.3'
      services: 
        postgres:
          container_name: postgres
          image: postgres:12
          environment:
            POSTGRES_USER: postgres
            POSTGRES_PASSWORD: Q1w2e3r4t5y6
            PGDATA: /data/postgres
          volumes:
             - postgres:/data/postgres
          ports:
            - "5432:5432"
          networks:
            - syncnow-net
          restart: unless-stopped  
      
        pgadmin:
          container_name: pgadmin
          image: dpage/pgadmin4
          environment:
            PGADMIN_DEFAULT_EMAIL: pgadmin4@pgadmin.org
            PGADMIN_DEFAULT_PASSWORD: admin
          volumes:
             - pgadmin:/root/.pgadmin
          ports:
            - "5050:80"
          networks:
            - syncnow-net
          restart: unless-stopped
      
        syncserver:
          image: repo.syncnow.io/syncnowserver:latest
          container_name: syncserver
          ports:
            - '5030:5030'   
          environment:
            - "ASPNETCORE_Environment=Development"
            - "ASPNETCORE_URLS=http://*:5030"  
            - "SETTINGS__DATABASECONFIGURATION__DATABASETYPE=PostgreSQL"      
            - "SETTINGS__DATABASECONFIGURATION__SERVER=postgres"      
            - "SETTINGS__DATABASECONFIGURATION__PORT=5432"      
            - "SETTINGS__DATABASECONFIGURATION__USERNAME=postgres"      
            - "SETTINGS__DATABASECONFIGURATION__PASSWORD=yiukRx79oJJS29hk3ekJlQ=="      
            - "SETTINGS__DATABASECONFIGURATION__TRANSPORTENCRYPT=False"      
            - "SETTINGS__DATABASECONFIGURATION__DATABASE=SyncNow"    
            - "KESTREL__ENDPOINTS__HTTP__URL=http://+:5030"
            - "KESTREL__ENDPOINTS__HTTPS__URL=http://+:5031"                         
          networks:
            - syncnow-net
          depends_on:
            - postgres
      
      networks:
        syncnow-net:
      volumes:
          postgres:
          pgadmin:
          
      

      SyncNow – SQL Server (MSSQL)

      version: '3.3'
      
      services: 
        mssql:
          image: 'microsoft/mssql-server-linux'
          container_name: mssql
          ports:
              - "1433:1433"
          environment:
              - ACCEPT_EULA=Y
              - SA_PASSWORD=Q1w2e3r4t5y6
          volumes:
              - mssql:/var/opt/mssql
          networks:
            - syncnow-net
      
        syncserver:
          image: repo.syncnow.io/syncnowserver:latest
          container_name: syncserver
          ports:
            - '5030:5030'   
          environment:
            - "ASPNETCORE_Environment=Development"
            - "ASPNETCORE_URLS=http://*:5030"  
            - "SETTINGS__DATABASECONFIGURATION__DATABASETYPE=SQLServer"      
            - "SETTINGS__DATABASECONFIGURATION__SERVER=mssql"      
            - "SETTINGS__DATABASECONFIGURATION__PORT=1433"      
            - "SETTINGS__DATABASECONFIGURATION__USERNAME=sa"      
            - "SETTINGS__DATABASECONFIGURATION__PASSWORD=yiukRx79oJJS29hk3ekJlQ=="      
            - "SETTINGS__DATABASECONFIGURATION__TRANSPORTENCRYPT=False"      
            - "SETTINGS__DATABASECONFIGURATION__DATABASE=SyncNow"  
            - "KESTREL__ENDPOINTS__HTTP__URL=http://+:5030"
            - "KESTREL__ENDPOINTS__HTTPS__URL=http://+:5031"        
          networks:
            - syncnow-net
          depends_on:
            - mssql  
      networks:
        syncnow-net:
      
      volumes:     
          mssql:

      SyncNow – Internal DB

      version: '3.3'
      services: 
        syncserver:
          image: repo.syncnow.io/syncnowserver:latest
          container_name: syncserver
          ports:
            - '5030:5030'   
          environment:
            - "ASPNETCORE_Environment=Development"
            - "KESTREL__ENDPOINTS__HTTP__URL=http://+:5030"
            - "KESTREL__ENDPOINTS__HTTPS__URL=http://+:5031"
          volumes:
             - ./database:/app/database
          networks:
            - syncnow-net
        syncnowui:
          image: nexusdev.syncnow.io:8098/syncnowserver:latest
          container_name: syncnowwebapp
          ports:
            - '5031:80'          
          networks:
            - syncnow-net
      # volumes:
      #   sqlliteVol:
      networks:
        syncnow-net:
         
      Was this article helpful?
      5 out of 5 stars

      1 rating

      5 Stars 100%
      4 Stars 0%
      3 Stars 0%
      2 Stars 0%
      1 Stars 0%
      5
      How can we improve this article?
      Please submit the reason for your vote so that we can improve the article.
      Table of Contents
      Skip to content