ops/stacks/lvl5/poste.io/stack.yml

51 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2022-01-21 00:40:30 +03:30
version: "3.7"
networks:
mother:
external: true
services:
poste:
image: registry.vnfco.ir/library/analogic/poste.io:latest
environment:
- HTTPS=OFF
- HTTP_PORT=9090
- DISABLE_CLAMAV=TRUE
- DISABLE_RSPAMD=TRUE
- TZ=Asia/Tehran
- VIRTUAL_HOST=mail.igarson.app
- LETSENCRYPT_EMAIL=admin@igarson.app
- LETSENCRYPT_HOST=mail.igarson.app
deploy:
update_config:
parallelism: 1
delay: 10s
order: start-first
restart_policy:
condition: any
delay: 5s
window: 120s
resources:
limits:
cpus: '0.5'
2022-02-28 12:50:57 +03:30
memory: 350m
2022-01-21 00:40:30 +03:30
replicas: 1
mode: replicated
placement:
constraints:
- node.role == worker
volumes:
- /etc/localtime:/etc/localtime:ro
- /volume/poste/data:/data
ports:
- "25:25"
- "110:110"
- "143:143"
2022-02-28 12:50:57 +03:30
- "465:465"
2022-01-21 00:40:30 +03:30
- "587:587"
- "993:993"
- "995:995"
- "4190:4190"
2022-02-28 12:50:57 +03:30
- "9999:9090"
2022-01-21 00:40:30 +03:30
networks:
- mother