mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-21 01:49:22 +02:00
Remove build files
This commit is contained in:
parent
774320d5e8
commit
74f9e43131
18
README.md
18
README.md
@ -69,7 +69,7 @@ Open https://${MAILCOW_HOSTNAME}/rspamd in a browser.
|
||||
### 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.
|
||||
|
||||
**Use Let's Encrypt?**
|
||||
**Use Let's Encrypt**
|
||||
|
||||
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/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}/privkey.pem) data/assets/ssl/mail.key
|
||||
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/key.pem
|
||||
```
|
||||
|
||||
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)
|
||||
|
||||
### 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
|
||||
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user