mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-01 08:34:50 +02:00
docs/misc: update to align with Docker Compose v2 (#3295)
* rename: `docker-compose.yml` => `compose.yaml` * rename: `docker-compose` => `docker compose`
This commit is contained in:
parent
652bbd831f
commit
c461dabe9e
23 changed files with 84 additions and 84 deletions
|
@ -21,16 +21,17 @@ There are a few requirements for a suitable host system:
|
|||
2. The host should be able to send/receive on the [necessary ports for mail][docs-ports-overview]
|
||||
3. You should be able to set a `PTR` record for your host; security-hardened mail servers might otherwise reject your mail server as the IP address of your host does not resolve correctly/at all to the DNS name of your server.
|
||||
|
||||
On the host, you should have a suitable container runtime (like _Docker_ or _Podman_) installed. We assume [_Docker Compose_][docker-compose] is [installed][docker-compose-installation].
|
||||
!!! note "About the Container Runtime"
|
||||
|
||||
!!! info "Podman Support"
|
||||
On the host, you need to have a suitable container runtime (like _Docker_ or _Podman_) installed. We assume [_Docker Compose_][docker-compose] is [installed][docker-compose-installation]. We have aligned file names and configuration conventions with the latest [Docker Compose (currently V2) specification][docker-compose-specification].
|
||||
|
||||
If you're using podman, make sure to read the related [documentation][docs-podman].
|
||||
|
||||
[docs-podman]: ./config/advanced/podman.md
|
||||
[docs-ports-overview]: ./config/security/understanding-the-ports.md#overview-of-email-ports
|
||||
[docker-compose]: https://docs.docker.com/compose/
|
||||
[docker-compose-installation]: https://docs.docker.com/compose/install/
|
||||
[docker-compose-specification]: https://docs.docker.com/compose/compose-file/
|
||||
[docs-podman]: ./config/advanced/podman.md
|
||||
|
||||
### Minimal DNS Setup
|
||||
|
||||
|
@ -88,13 +89,13 @@ Issue the following commands to acquire the necessary files:
|
|||
|
||||
``` BASH
|
||||
DMS_GITHUB_URL="https://github.com/docker-mailserver/docker-mailserver/blob/latest"
|
||||
wget "${DMS_GITHUB_URL}/docker-compose.yml"
|
||||
wget "${DMS_GITHUB_URL}/compose.yaml"
|
||||
wget "${DMS_GITHUB_URL}/mailserver.env"
|
||||
```
|
||||
|
||||
### Configuration Steps
|
||||
|
||||
1. First edit `docker-compose.yml` to your liking
|
||||
1. First edit `compose.yaml` to your liking
|
||||
- Substitute `mail.example.com` according to your FQDN.
|
||||
- If you want to use SELinux for the `./docker-data/dms/config/:/tmp/docker-mailserver/` mount, append `-z` or `-Z`.
|
||||
2. Then configure the environment specific to the mail server by editing [`mailserver.env`][docs-environment], but keep in mind that:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue