[MDBF-426] Feedback-plugin-backend: Docker compose example using the plugin doesn't work Created: 2022-05-31  Updated: 2022-11-21  Resolved: 2022-11-21

Status: Closed
Project: MariaDB Foundation Development
Component/s: Feedback Plugin
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Anel Husakovic Assignee: Vicențiu Ciorbaru
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.75d
Original Estimate: Not Specified


 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
    



 Comments   
Comment by Anel Husakovic [ 2022-05-31 ]

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.

Comment by Anel Husakovic [ 2022-06-01 ]

Additinally implemented healthcheck

Comment by Vicențiu Ciorbaru [ 2022-11-21 ]

docker-compose now properly set up.

Generated at Thu Feb 08 03:37:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.