Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-426

Feedback-plugin-backend: Docker compose example using the plugin doesn't work

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • N/A
    • Feedback Plugin
    • None

    Description

      • Based on the instruction on how to to use feedback-plugin-backend with docker-compose it is not working:

      See here https://gist.github.com/an3l/929d86f405d965fedb35474284db2dc9

      • I needed to stop them manually

        $ docker-compose stop
        Stopping docker_nginx_1 ... done
        Stopping docker_web_1   ... done
        Stopping docker_db_1    ... done
         
        $ docker ps -a
        CONTAINER ID   IMAGE          COMMAND                  CREATED         STATUS                     PORTS     NAMES
        07a52494d175   docker_nginx   "/docker-entrypoint.…"   4 minutes ago   Exited (0) 3 minutes ago             docker_nginx_1
        a9643a081924   docker_web     "/app/entrypoint.sh …"   4 minutes ago   Exited (1) 4 minutes ago             docker_web_1
        17630d57f673   docker_db      "docker-entrypoint.s…"   4 minutes ago   Exited (0) 3 minutes ago             docker_db_1
         
        $ docker ps
        CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
         
        $ docker images
        REPOSITORY     TAG       IMAGE ID       CREATED              SIZE
        docker_nginx   latest    f633d2f7fbf6   36 seconds ago       142MB
        docker_web     latest    f47374120d94   40 seconds ago       1.47GB
        docker_db      latest    957e6b21c321   About a minute ago   749MB
        python         3.9       9fa3494cf8c7   3 days ago           915MB
        nginx          latest    0e901e68141f   3 days ago           142MB
        mariadb        10.6      927bab32c7ff   7 days ago           413MB
        

      Attachments

        Issue Links

          Activity

            This works

            --- a/docker/.env
            +++ b/docker/.env
            @@ -31,6 +31,7 @@ DJANGO_DEBUG=True
             DJANGO_DB_NAME='feedback_plugin'
             DJANGO_DB_USER_NAME='feedback'
             DJANGO_DB_USER_PASSWORD='A;p4rqgDt-Mf7L{z'
             
             # Control logging level for Django.
            -DJANGO_LOG_LEVEL='ERROR'
            +DJANGO_LOG_LEVEL=ERROR
            
            

            producing new error - access not allowed for `feedback@178.18.0.3`.
            Have tested entrypoint is not executed.

            anel Anel Husakovic added a comment - This works --- a/docker/.env +++ b/docker/.env @@ -31,6 +31,7 @@ DJANGO_DEBUG=True DJANGO_DB_NAME='feedback_plugin' DJANGO_DB_USER_NAME='feedback' DJANGO_DB_USER_PASSWORD='A;p4rqgDt-Mf7L{z' # Control logging level for Django. -DJANGO_LOG_LEVEL='ERROR' +DJANGO_LOG_LEVEL=ERROR producing new error - access not allowed for `feedback@178.18.0.3`. Have tested entrypoint is not executed.

            Additinally implemented healthcheck

            anel Anel Husakovic added a comment - Additinally implemented healthcheck

            docker-compose now properly set up.

            cvicentiu Vicențiu Ciorbaru added a comment - docker-compose now properly set up.

            People

              cvicentiu Vicențiu Ciorbaru
              anel Anel Husakovic
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 0.75d
                  0.75d