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

Deploy by docker-compose #144

Closed
zanderhan opened this issue Dec 19, 2024 · 2 comments
Closed

Deploy by docker-compose #144

zanderhan opened this issue Dec 19, 2024 · 2 comments
Labels
wontfix Outside the scope of the project or requires a significant amount of time and resources to fix.

Comments

@zanderhan
Copy link

What information was incorrect, unhelpful, or incomplete?

How do I deploy through docker-compose?
Your documentation doesn't say anything, especially about database deployment.

①I tried to write a docker-compose.yml file that as follows:
image

②Then execute: docker-compose up --build

③When access: http://ip:8080/
I can see "Welcome to the MDN Observatory!"

④When execute: curl -X POST "http://IP:8080/api/v2/scan?host=example.com"
It return: {"error":"error-unknown","message":"connect ECONNREFUSED 127.0.0.1:5432"}

⑤This should be a problem of my database configuration.

What did you expect to see?

The official docker-compolse.yml file

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

@zanderhan zanderhan added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 19, 2024
@argl
Copy link
Contributor

argl commented Dec 20, 2024

Hi, thank you for reporting an issue. We do not actively support docker-compose, but this looks like a connection issue to the database container.

@argl argl added wontfix Outside the scope of the project or requires a significant amount of time and resources to fix. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Dec 20, 2024
@zanderhan
Copy link
Author

Thank you for your reply. How do I configure the database?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix Outside the scope of the project or requires a significant amount of time and resources to fix.
Projects
None yet
Development

No branches or pull requests

2 participants