https://github.com/computemachines/blog
Project Showcase
https://github.com/computemachines/blog
Last synced: about 2 months ago
JSON representation
Project Showcase
- Host: GitHub
- URL: https://github.com/computemachines/blog
- Owner: computemachines
- Created: 2017-01-22T05:55:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T00:29:48.000Z (almost 9 years ago)
- Last Synced: 2025-01-19T21:51:10.184Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://computemachines.com
- Size: 347 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reminders to future self
``` shell
openssl dhparam -out /etc/ssl/certs/dhparam.pem
```
## Order of docker spin up
1) uwsgi
2) nginx
3) webpack (terminates)
## Docker state
### Data Volumes
| Container | Volume |
|-----------|--------|
| letsencrypt | /etc/letsencrypt/ |
| nginx | /etc/letsencrypt/ /etc/ssl/ /assets/ |
| webpack | /assets/ |
| uwsgi | - |
| redis | - |
### Networking
| Container | Network | Exposed Bridged ports |
| -------- | ------------ | ------------------- |
| letsencrypt | | 80 443 |
| nginx | blog | 80 443 |
| webpack | | |
| uwsgi | blog | |
| redis | blog | |
* Letsencrypt certificate renewal
``` shell
docker run -ti -p 80:80 -p 443:443 -v /etc/letsencrypt/:/etc/letsencrypt letsencrypt
```
### Not included in this repo:
* letsencrypt.tar.gz
This archive contains the letsencrypt public and private keys, certs, and config. Unpack into /etc/ then renew certificate and optionally rebuild archive with fresh certs.