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

Running Docker script, program cannot open properly。help #206

Open
sevenNightL opened this issue Sep 28, 2023 · 5 comments
Open

Running Docker script, program cannot open properly。help #206

sevenNightL opened this issue Sep 28, 2023 · 5 comments

Comments

@sevenNightL
Copy link

sevenNightL commented Sep 28, 2023

I run the run docker run-docker-compose. ps1 script on my local machine, and the docker container opened normally, but https://eshop-st-public-web I can't open it, only one API can be opened. May I know where the problem is with me?
image
image

@sevenNightL sevenNightL changed the title Running Docker script, program cannot open properly Running Docker script, program cannot open properly。help Sep 28, 2023
@gterdem
Copy link
Contributor

gterdem commented Sep 29, 2023

Sorry but I can't even understand the error.

The API runs at localhost but you are running it using the DNS? Try https://localhost:44335 for the public-web application. DNS is related to Kubernetes.

Also please check the HTTPS certificate if it is being generated correctly, the API HTTPS certificate seems invalid.

Check https://github.com/abpframework/eShopOnAbp#instructions for instructions.

@sevenNightL
Copy link
Author

Sorry but I can't even understand the error.

The API runs at localhost but you are running it using the DNS? Try https://localhost:44335 for the public-web application. DNS is related to Kubernetes.

Also please check the HTTPS certificate if it is being generated correctly, the API HTTPS certificate seems invalid.

Check https://github.com/abpframework/eShopOnAbp#instructions for instructions.

I just made the program into a local Docker image and directly used Docker Compose to run the script.
image
image
The containers are all in a normal state, and nginx exposes interface documents. How can backend management expose them?

Is there a problem with the nginx I am currently configuring?
image
image
I generated the certificate locally, and the following is the configuration of the certificate。
image

@sevenNightL
Copy link
Author

sevenNightL commented Oct 9, 2023

Sorry but I can't even understand the error.

The API runs at localhost but you are running it using the DNS? Try https://localhost:44335 for the public-web application. DNS is related to Kubernetes.

Also please check the HTTPS certificate if it is being generated correctly, the API HTTPS certificate seems invalid.

Check https://github.com/abpframework/eShopOnAbp#instructions for instructions.

I am trying to run the project through Docker instead of debugging the project through the software development environment, and I have not encountered any issues debugging the local project.

@gterdem
Copy link
Contributor

gterdem commented Oct 10, 2023

I've created an issue related to this, I'll update the docker-compose file to run with latest changes.

@sevenNightL
Copy link
Author

I've created an issue related to this, I'll update the docker-compose file to run with latest changes.

Could you tell me when it will be finished?

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

No branches or pull requests

2 participants