This commit is contained in:
parent
f27d0b07db
commit
3e566f06df
39
.drone.yml
Normal file
39
.drone.yml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: docker-postfix
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: r.sbruder.de
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
context: postfix
|
||||||
|
dockerfile: postfix/Dockerfile
|
||||||
|
repo: r.sbruder.de/postfix
|
||||||
|
|
||||||
|
- name: docker-postgrey
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: r.sbruder.de
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
context: postgrey
|
||||||
|
dockerfile: postgrey/Dockerfile
|
||||||
|
repo: r.sbruder.de/postgrey
|
||||||
|
|
||||||
|
- name: docker-dovecot
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
registry: r.sbruder.de
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
|
context: dovecot
|
||||||
|
dockerfile: dovecot/Dockerfile
|
||||||
|
repo: r.sbruder.de/dovecot
|
|
@ -2,6 +2,7 @@ version: "3"
|
||||||
services:
|
services:
|
||||||
postfix:
|
postfix:
|
||||||
build: postfix
|
build: postfix
|
||||||
|
image: r.sbruder.de/postfix
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- MYHOSTNAME=mail.example.com
|
- MYHOSTNAME=mail.example.com
|
||||||
|
@ -28,12 +29,14 @@ services:
|
||||||
|
|
||||||
postgrey:
|
postgrey:
|
||||||
build: postgrey
|
build: postgrey
|
||||||
|
image: r.sbruder.de/postgrey
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./spool/postgrey:/var/spool/postfix/postgrey
|
- ./spool/postgrey:/var/spool/postfix/postgrey
|
||||||
|
|
||||||
dovecot:
|
dovecot:
|
||||||
build: dovecot
|
build: dovecot
|
||||||
|
image: r.sbruder.de/dovecot
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- LDAP_SERVER=ldap.example.com
|
- LDAP_SERVER=ldap.example.com
|
||||||
|
|
Reference in a new issue