1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- version: '2'
-
- services:
- database:
- build: ./postgresql
- container_name: mx-postgresql
- networks:
- mx.internal.docker:
- aliases:
- - postgresql.mx.internal.docker
- volumes:
- - ./data/postgresql/data:/var/lib/postgresql/data
- ports:
- - "127.0.0.1:34000:5432"
- env_file:
- - env
-
- postfixadmin:
- build: ./postfixadmin
- container_name: mx-postfixadmin
- networks:
- mx.internal.docker:
- aliases:
- - postfixadmin.mx.internal.docker
- ports:
- - "127.0.0.1:34001:80"
- env_file:
- - env
-
- postfix:
- build: ./postfix
- container_name: mx-postfix
- networks:
- mx.internal.docker:
- aliases:
- - postfix.mx.internal.docker
- ports:
- - "0.0.0.0:25:25"
- - "0.0.0.0:587:587"
- env_file:
- - env
-
- dovecot:
- build: ./dovecot
- container_name: mx-dovecot
- networks:
- mx.internal.docker:
- aliases:
- - dovecot.mx.internal.docker
- volumes:
- - ./data/dovecot/email:/var/email
- ports:
- - "0.0.0.0:110:110"
- - "0.0.0.0:143:143"
- - "0.0.0.0:993:993"
- - "0.0.0.0:995:995"
- - "0.0.0.0:4190:4190"
- env_file:
- - env
-
- opendkim:
- build: ./opendkim
- container_name: mx-opendkim
- networks:
- mx.internal.docker:
- aliases:
- - opendkim.mx.internal.docker
- volumes:
- - ./data/opendkim/keys:/etc/opendkim/keys
- env_file:
- - env
-
- networks:
- mx.internal.docker:
|