CourierMTA/docker-compose.yml

33 lines
1.0 KiB
YAML
Raw Normal View History

2022-03-29 21:04:54 +02:00
version: "3.7"
services:
server:
build:
context: .
network_mode: bridge
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:/etc/courier
- mail:/mail
- /dev/log:/dev/log
hostname: devloop.de
restart: always
volumes:
conf:
driver_opts:
type: "none"
o: "bind"
device: "${DATA_BASE}/conf"
mail:
driver_opts:
type: "none"
o: "bind"
device: "${DATA_BASE}/mail"