happyDeliver/docker-compose.yml
Pierre-Olivier Mercier c91ab96642
All checks were successful
continuous-integration/drone/push Build is passing
Include the HEALTHCHECK command in Dockerfile
2025-11-07 14:23:29 +07:00

31 lines
605 B
YAML

services:
happydeliver:
build:
context: .
dockerfile: Dockerfile
image: happydomain/happydeliver:latest
container_name: happydeliver
hostname: mail.happydeliver.local
environment:
# Set your domain and hostname
DOMAIN: happydeliver.local
HOSTNAME: mail.happydeliver.local
ports:
# SMTP port
- "25:25"
# API port
- "8080:8080"
volumes:
# Persistent database storage
- ./data:/var/lib/happydeliver
# Log files
- ./logs:/var/log/happydeliver
restart: unless-stopped
volumes:
data:
logs: