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:
|
||||
postfix:
|
||||
build: postfix
|
||||
image: r.sbruder.de/postfix
|
||||
restart: always
|
||||
environment:
|
||||
- MYHOSTNAME=mail.example.com
|
||||
|
@ -28,12 +29,14 @@ services:
|
|||
|
||||
postgrey:
|
||||
build: postgrey
|
||||
image: r.sbruder.de/postgrey
|
||||
restart: always
|
||||
volumes:
|
||||
- ./spool/postgrey:/var/spool/postfix/postgrey
|
||||
|
||||
dovecot:
|
||||
build: dovecot
|
||||
image: r.sbruder.de/dovecot
|
||||
restart: always
|
||||
environment:
|
||||
- LDAP_SERVER=ldap.example.com
|
||||
|
|
Reference in a new issue