mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 04:30:12 +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
|
retries: 3
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
depends_on:
|
depends_on:
|
||||||
- smarthost
|
- smarthost.aaa.fu
|
||||||
- syslog
|
- syslog
|
||||||
|
- imap.aaa.fu
|
||||||
|
|
||||||
smarthost:
|
smarthost.aaa.fu:
|
||||||
image: sutoj/smtps-source
|
image: sutoj/smtps-source
|
||||||
container_name: smarthost.aaa.fu
|
container_name: smarthost.aaa.fu
|
||||||
networks:
|
networks:
|
||||||
@ -50,5 +51,15 @@ services:
|
|||||||
memory: 64M
|
memory: 64M
|
||||||
command: smtp-sink -h smarthost.aaa.fu -u nobody :25 10
|
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:
|
networks:
|
||||||
piler:
|
piler:
|
||||||
|
@ -25,8 +25,11 @@ launch_containers() {
|
|||||||
|
|
||||||
echo -e "PACKAGE=$PACKAGE\nPILER_HOST=cust1.acts.hu\nRT=$RT" > .env
|
echo -e "PACKAGE=$PACKAGE\nPILER_HOST=cust1.acts.hu\nRT=$RT" > .env
|
||||||
|
|
||||||
|
docker-compose down -v || true
|
||||||
|
|
||||||
log "running docker-compose"
|
log "running docker-compose"
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|
||||||
wait_until_container_is_healthy "piler1"
|
wait_until_container_is_healthy "piler1"
|
||||||
|
|
||||||
docker-compose ps
|
docker-compose ps
|
||||||
|
Loading…
Reference in New Issue
Block a user