39 lines
718 B
YAML
39 lines
718 B
YAML
version: "3.7"
|
|
|
|
services:
|
|
server:
|
|
build:
|
|
context: .
|
|
container_name: mail.devloop.de
|
|
networks:
|
|
- internal_mail
|
|
ports:
|
|
- "138.201.55.55:25:25"
|
|
- "138.201.55.55:143:143"
|
|
- "138.201.55.55:993:993"
|
|
- "2a01:4f8:172:101f::2:25:25"
|
|
- "2a01:4f8:172:101f::2:143:143"
|
|
- "2a01:4f8:172:101f::2:993:993"
|
|
volumes:
|
|
- conf:/conf
|
|
- mail:/mail
|
|
- /dev/log:/dev/log
|
|
hostname: devloop.de
|
|
restart: always
|
|
|
|
networks:
|
|
internal_mail:
|
|
name: internal_mail
|
|
|
|
volumes:
|
|
conf:
|
|
driver_opts:
|
|
type: "none"
|
|
o: "bind"
|
|
device: "${DATA}/conf"
|
|
mail:
|
|
driver_opts:
|
|
type: "none"
|
|
o: "bind"
|
|
device: "${DATA}/mail"
|