blob: df2d1c043bb132d86c93b1787009010c88f6437c [file] [log] [blame]
version: '3'
services:
james:
depends_on:
- postgres
image: apache/james:postgres-latest
container_name: james
hostname: james.local
command:
- --generate-keystore
ports:
- "80:80"
- "25:25"
- "110:110"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
- "8000:8000"
volumes:
- ./sample-configuration-single/search.properties:/root/conf/search.properties
- ./sample-configuration/blob.properties:/root/conf/blob.properties
postgres:
image: postgres:16.9
ports:
- "5432:5432"
environment:
- POSTGRES_DB=james
- POSTGRES_USER=james
- POSTGRES_PASSWORD=secret1