mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 21:41:59 +01:00
Added imap server to docker-compose
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
4ace5fb9a6
commit
3759dbda2c
@ -36,10 +36,11 @@ services:
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
depends_on:
|
||||
- smarthost
|
||||
- smarthost.aaa.fu
|
||||
- syslog
|
||||
- imap.aaa.fu
|
||||
|
||||
smarthost:
|
||||
smarthost.aaa.fu:
|
||||
image: sutoj/smtps-source
|
||||
container_name: smarthost.aaa.fu
|
||||
networks:
|
||||
@ -50,5 +51,15 @@ services:
|
||||
memory: 64M
|
||||
command: smtp-sink -h smarthost.aaa.fu -u nobody :25 10
|
||||
|
||||
imap.aaa.fu:
|
||||
image: sutoj/imap
|
||||
container_name: imap.aaa.fu
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 64M
|
||||
networks:
|
||||
- piler
|
||||
|
||||
networks:
|
||||
piler:
|
||||
|
@ -25,8 +25,11 @@ launch_containers() {
|
||||
|
||||
echo -e "PACKAGE=$PACKAGE\nPILER_HOST=cust1.acts.hu\nRT=$RT" > .env
|
||||
|
||||
docker-compose down -v || true
|
||||
|
||||
log "running docker-compose"
|
||||
docker-compose up -d
|
||||
|
||||
wait_until_container_is_healthy "piler1"
|
||||
|
||||
docker-compose ps
|
||||
|
Loading…
Reference in New Issue
Block a user