Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-236

Docker Compose fails to start application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Honolulu Release
    • None
    • None
    • None

      Application fails to start with Docker compose.

      Seems like the application cannot access the application.yml which is mounted as a volume in to the containers.

      *************************** 
      APPLICATION FAILED TO START 
      *************************** 
       
      Description: 
       
      Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. 
       
      Reason: Failed to determine a suitable driver class 
       
       
      Action: 
       
      Consider the following: 
       If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. 
       If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).

      Also, as part of this change, make sure README.md is updated accordingly.

            Unassigned Unassigned
            rishi.chail rishi.chail
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: