mailcow-dockerized-docs/docs/debug-attach_service.md

41 Zeilen
1,6 KiB
Markdown

2017-05-06 19:10:18 +02:00
## Attaching a Container to your Shell
To attach a container to your shell you can simply run
```
docker-compose exec $Service_Name /bin/bash
```
### Connecting to Services
2017-05-09 17:54:50 +02:00
If you want to connect to a service / application directly it is always a good idea to `source mailcow.conf` to get all relevant variables into your environment.
2017-05-06 19:10:18 +02:00
#### MySQL
```
source mailcow.conf
docker-compose exec mysql-mailcow mysql -u${DBUSER} -p${DBPASS} ${DBNAME}
```
#### Redis
```
docker-compose exec redis-mailcow redis-cli
```
2017-05-06 19:18:58 +02:00
## Service Descriptions
Here is a brief overview of what container / service does what:
| Service Name | Service Descriptions |
2017-05-06 19:18:58 +02:00
| --------------- | ------------------------------------------------------------------------- |
2017-06-25 00:12:07 +02:00
| unbound-mailcow | Local (DNSSEC) DNS Resolver |
| mysql-mailcow | Stores SOGo's and most of mailcow's settings |
2017-05-06 19:18:58 +02:00
| postfix-mailcow | Receives and sends mails |
| dovecot-mailcow | User logins and sieve filter |
| redis-mailcow | Storage back-end for DKIM keys and Rspamd |
2017-05-06 19:18:58 +02:00
| rspamd-mailcow | Mail filtering system. Used for av handling, dkim signing, spam handling |
| clamd-mailcow | Scans attachments for viruses |
| sogo-mailcow | Webmail client that handles Microsoft ActiveSync and Cal- / CardDav |
| nginx-mailcow | Nginx remote proxy that handles all mailcow related HTTP / HTTPS requests |