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
Repository do not show full flow how to deploy docker application with build and docker registry,
82
-
it can be used with simple git pull from your repository.
83
-
For production without https you can use `develop` branch and production files.
84
-
````
85
-
# Production
86
-
cp docker-compose.yml.prod docker-compose.yml #this compose file use nginx production config
87
-
````
88
-
If you are going to use LetsEncrypt at production look at branch 'letsencrypt' this repository.
89
-
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).
90
-
91
-
To use letsEncrypt at production just follow steps below:
92
-
1. Initial settings
93
-
Open ``./init-letsencrypt.sh`` add your domains instead `{YOUR_DOMAIN}` www.`{YOUR_DOMAIN}` and set `{YOUR_EMAIL}`.
94
-
Run ``./init-letsencrypt.sh``. It will create initial settings.
95
-
Note: don't forget to add A DNS record for domain with www.
96
-
2. Nginx settings
97
-
At `.provision/nginx/conf.d/vhost.prod.conf` set `{YOUR_DOMAIN}` variable.
98
-
Certificates stored at .provision folder and will be renew as described in article.
0 commit comments