Remove build files

master
andryyy 2016-12-15 10:02:54 +01:00
parent 774320d5e8
commit 74f9e43131
1 changed files with 3 additions and 15 deletions

View File

@ -69,7 +69,7 @@ Open https://${MAILCOW_HOSTNAME}/rspamd in a browser.
### SSL (and: How to use Let's Encrypt) ### SSL (and: How to use Let's Encrypt)
mailcow dockerized comes with a snakeoil CA "mailcow" and a server certificate in `data/assets/ssl`. Please use your own trusted certificates. mailcow dockerized comes with a snakeoil CA "mailcow" and a server certificate in `data/assets/ssl`. Please use your own trusted certificates.
**Use Let's Encrypt?** **Use Let's Encrypt**
Get the certbot client: Get the certbot client:
``` ```
@ -90,8 +90,8 @@ Create hard links to the full path of the new certificates. Assuming you are sti
``` ```
mv data/assets/ssl/cert.{pem,pem.backup} mv data/assets/ssl/cert.{pem,pem.backup}
mv data/assets/ssl/key.{pem,pem.backup} mv data/assets/ssl/key.{pem,pem.backup}
ln $(readlink -f /etc/letsencrypt/live/${MAILCOW_HOSTNAME}/fullchain.pem) data/assets/ssl/mail.crt ln $(readlink -f /etc/letsencrypt/live/${MAILCOW_HOSTNAME}/fullchain.pem) data/assets/ssl/cert.pem
ln $(readlink -f /etc/letsencrypt/live/${MAILCOW_HOSTNAME}/privkey.pem) data/assets/ssl/mail.key ln $(readlink -f /etc/letsencrypt/live/${MAILCOW_HOSTNAME}/privkey.pem) data/assets/ssl/key.pem
``` ```
Restart containers which use the certificate: Restart containers which use the certificate:
@ -105,18 +105,6 @@ When renewing certificates, run the last two steps (link + restart) as post-hook
## More useful commands and examples (todo: move to wiki soon) ## More useful commands and examples (todo: move to wiki soon)
### build-*.files
(Re)build a container:
```
./n-build-$name.sh
```
**:exclamation:** Any previous container with the same name will be stopped and removed.
No persistent data is deleted at any time.
If an image exists, you will be asked wether or not to repull/rebuild it.
Build files are numbered "nnn" for dependencies.
### Logs ### Logs
You can use `docker-compose logs $service-name` for almost all containers. Only rmilter does not log to stdout. You can check rspamd logs for rmilter responses. You can use `docker-compose logs $service-name` for almost all containers. Only rmilter does not log to stdout. You can check rspamd logs for rmilter responses.