1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-08 23:06:49 +02:00

Separate environments and simplify docker-compose.yml

This commit is contained in:
Lukas Elsner
2019-09-20 13:38:13 -06:00
parent e60e2d180e
commit 1fce099ade
4 changed files with 7 additions and 60 deletions

View File

@ -63,7 +63,9 @@ Download the docker-compose.yml, the .env and the setup.sh files:
#### Create a docker-compose environment
- Edit the files `.env` and `.env-mailserver` to your liking.
- Edit the files `.env` and `.env-mailserver` to your liking:
- `.env` contains the configuration for docker-compose
- `env-mailserver` contains the configuration for the mailserver container
- These files supports only simple `VAR=VAL` lines (see [Documentation](https://docs.docker.com/compose/env-file/)).
- Don't quote your values.
- Variable substitution is *not* supported (e.g. `OVERRIDE_HOSTNAME=$HOSTNAME.$DOMAINNAME`).