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

getting rid of ELK & updating Compose (#1614)

* removed elk diretory
* removed filebeat / elk compose.yml.dist; adjusted other compose files
* final README update for env variables
* updated compose files
This commit is contained in:
Georg Lauterbach
2020-09-21 13:54:31 +02:00
committed by GitHub
parent fa84895ab2
commit 9b5d4d307c
13 changed files with 33 additions and 241 deletions

View File

@ -179,9 +179,9 @@ version: '3.8'
services:
mail:
image: tvial/docker-mailserver:latest
hostname: mail
domainname: domain.com
container_name: mail
hostname: mail # ${HOSTNAME}
domainname: domain.com # ${DOMAINNAME}
container_name: mail # ${CONTAINER_NAME}
ports:
- "25:25"
- "143:143"
@ -203,14 +203,12 @@ services:
cap_add:
- NET_ADMIN
- SYS_PTRACE
restart: always
volumes:
maildata:
driver: local
mailstate:
driver: local
maillogs:
driver: local
```
#### LDAP setup
@ -221,9 +219,9 @@ version: '3.8'
services:
mail:
image: tvial/docker-mailserver:latest
hostname: mail
domainname: domain.com
container_name: mail
hostname: mail # ${HOSTNAME}
domainname: domain.com # ${DOMAINNAME}
container_name: mail # ${CONTAINER_NAME}
ports:
- "25:25"
- "143:143"
@ -265,19 +263,21 @@ services:
cap_add:
- NET_ADMIN
- SYS_PTRACE
restart: always
volumes:
maildata:
driver: local
mailstate:
driver: local
maillogs:
driver: local
```
## Environment variables
If an option doesn't work as documented here, check if you are running the latest image! Value in **bold** is the default value.
If an option doesn't work as documented here, check if you are running the latest image! Values in **bold** are the default values.
### Reminder
Please note: Variables in `.env` are expanded in the `docker-compose.yml` file **only** and **not** in the container. The file `env-mailserver` serves this case where environment variables are used in the container.
### Assignments