Sign inSign up

siamdock/sandbox-mailserver

By siamdock

Updated 5 months ago

Image
0

227

siamdock/sandbox-mailserver repository overview

# =========================
# docker-compose.yml
# =========================
version: "3.9"

services:
  sandbox:
    image: yourdockerhub/email-sandbox:latest
    container_name: email-sandbox
    restart: unless-stopped
    ports:
      - "53:53/udp"
      - "25:25"
      - "587:587"
      - "465:465"
      - "143:143"
      - "993:993"
      - "8080:8080"
    volumes:
      - sandbox_data:/data
    environment:
      DB_PATH: /data/sandbox.db
      SERVER_IP: "0.0.0.0"
      DNS_PORT: "53"
      SMTP_PORT: "25"
      SMTP_SUB_PORT: "587"
      SMTP_SSL_PORT: "465"
      IMAP_PORT: "143"
      IMAP_SSL_PORT: "993"
      WEB_PORT: "8080"
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "3"

  webmail:
    image: yourdockerhub/webmail-next:latest
    container_name: webmail-next
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      API_URL: "http://sandbox:8080"
      PORT: "3000"
    depends_on:
      - sandbox
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "3"

volumes:
  sandbox_data:



 

Tag summary

Content type

Image

Digest

sha256:bfe95f395

Size

166.2 MB

Last updated

5 months ago

docker pull siamdock/sandbox-mailserver