You've already forked docker-mailserver
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:
26
README.md
26
README.md
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user