Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dev env #8

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open

Add dev env #8

wants to merge 45 commits into from

Conversation

RonanMorgan
Copy link
Collaborator

@RonanMorgan RonanMorgan commented Apr 24, 2024

A beautiful dev env which launch a Reoling dev camera and test if an alert has been generated by the engine

PS : I felt in a git hell by trying to remove all .env file in the history so I had to create a new PR

@RonanMorgan RonanMorgan self-assigned this Apr 24, 2024
@RonanMorgan RonanMorgan marked this pull request as draft April 24, 2024 15:15
@RonanMorgan
Copy link
Collaborator Author

TODO :
=> understand the use case of the media API in order to mimic it in the python test media.py
=> create a centralised server in order to accept the loki call (whitelist some ip in the server itself ? how can we know the ip adress of gitAction servers)

@RonanMorgan
Copy link
Collaborator Author

understand and fix this error :

WARNING:  Could not connect to the endpoint URL: "http://s3.localhost.localstack.cloud:4566/sample-bucket/20240424153150-a7a225e9.jpg"
INFO:     172.18.0.8:45570 - "POST /media/1/upload HTTP/1.1" 500 Internal Server Error
  • we don't see anymore the lines after the grep :
    docker-compose logs --tail=20 | grep -i -E "error|exception" | grep -v -i "hypercorn.error"

@RonanMorgan RonanMorgan marked this pull request as ready for review April 26, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants