Added imap server to docker-compose

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2023-06-14 08:08:33 +02:00
parent 4ace5fb9a6
commit 3759dbda2c
2 changed files with 16 additions and 2 deletions

View File

@ -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:

View File

@ -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