sha256:5f7376cf3b0068aceb5c00758bc41e9350f54d644a8d0d683b140b989828df81
Last pushed
7 months by codingjoe
Type
Compose
Manifest digest
sha256:5f7376cf3b0068aceb5c00758bc41e9350f54d644a8d0d683b140b989828df81
name: containers
networks:
app:
external: true
name: app
default:
name: containers_default
wan:
external: true
name: wan
services:
smtp:
container_name: smtp
domainname: ${HOSTNAME}
environment:
LOG_LEVEL: info
NETWORK_INTERFACE: eth1
ONE_DIR: 1
PERMIT_DOCKER: connected-networks
POSTFIX_INET_PROTOCOLS: ipv4
SMTP_ONLY: 1
SSL_TYPE: ""
healthcheck:
interval: 10s
retries: 5
start_period: 30s
test: ss --listening --ipv4 --tcp | grep --silent ':smtp' || exit 1
timeout: 3s
hostname: smtp
image: ghcr.io/docker-mailserver/docker-mailserver:15.1.0
labels:
dev.dozzle.group: PaaS
networks:
app:
interface_name: eth1
wan:
interface_name: eth0
restart: always
stop_grace_period: 1m
volumes:
- source: smtp-data
target: /var/mail
type: volume
volume: {}
- source: smtp-state
target: /var/mail-state
type: volume
volume: {}
- source: smtp-config
target: /tmp/docker-mailserver
type: volume
volume: {}
- bind:
create_host_path: true
read_only: true
source: /etc/localtime
target: /etc/localtime
type: bind
web:
depends_on:
smtp:
condition: service_healthy
required: true
restart: true
deploy:
mode: replicated
replicas: 2
resources:
limits:
cpus: "0.25"
memory: 512M
environment:
EMAIL_URL: smtp://smtp:25/
image: traefik/whoami:latest
memswap_limit: 1g
networks:
default: null
volumes:
smtp-config:
name: containers_smtp-config
smtp-data:
name: containers_smtp-data
smtp-state:
name: containers_smtp-state
docker compose -f oci://codingjoe/the-box-smtp:0.0.4 upUse the above command to pull and run the Compose file. Learn more.
Tiny Go webserver that prints OS information and HTTP request to output
Pulls
10M+
Stars
72
Last Updated
about 2 months