You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are going to use LetsEncrypt at production look at branch 'letsencrypt' this repository.
78
+
### Production and LetsEncrypt
79
+
Repository do not show full flow how to deploy docker application with build and docker registry,
80
+
it can be used with simple git pull from your repository.
81
+
For production without https you can use `develop` branch and production files.
82
+
````
83
+
# Production
84
+
cp docker-compose.yml.prod docker-compose.yml #this compose file use nginx production config
85
+
````
86
+
If you are going to use LetsEncrypt at production look at branch 'letsencrypt' this repository.
79
87
Branch contains ready to use configuration for letsEncrypt in production based on great article [Nginx and Let’s Encrypt with Docker in Less Than 5 Minutes](https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71).
88
+
80
89
To use letsEncrypt at production just follow steps below:
81
-
2. Initial settings
90
+
1. Initial settings
82
91
Open ``./init-letsencrypt.sh`` add your domains instead `{YOUR_DOMAIN}` www.`{YOUR_DOMAIN}` and set `{YOUR_EMAIL}`.
83
92
Run ``./init-letsencrypt.sh``. It will create initial settings.
84
93
Note: don't forget to add A DNS record for domain with www.
85
-
3. Nginx settings
94
+
2. Nginx settings
86
95
At `.provision/nginx/conf.d/vhost.prod.conf` set `{YOUR_DOMAIN}` variable.
87
-
96
+
Certificates stored at .provision folder and will be renew as described in article.
0 commit comments