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

Unable to create the certificate using init-letsencrypt.sh #83

Open
Jakub41 opened this issue Aug 1, 2020 · 1 comment
Open

Unable to create the certificate using init-letsencrypt.sh #83

Jakub41 opened this issue Aug 1, 2020 · 1 comment

Comments

@Jakub41
Copy link

Jakub41 commented Aug 1, 2020

Hello,
In my project, I'm trying to use this approach to have Nginx running but I'm having issues running the
init-letsencrypt.sh in the screenshot the issue
Screenshot 2020-08-01 at 14 01 50

I did the modification in my project here
WeTaxiApi

Could you please help me to understand what I have mistaken as I'm new to use Docker with Nginx and I would like to learn the good approach, please :)

@arfanliaqat
Copy link

The reason in my case was that i had two different docker-compse.yml files (one for prod and for dev). The file which i was using was docker-compose-prod.yml which is not picked up by default, either keep your production setup in docker-compose.yml so it is picked up by init-script or add -f docker-compose-prod.yml argument to each docker-compose cmd inside init script.

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