Migrate test script from shell to python
- test.py needs to be called with 2 arguments : test_name and timeout - it will cd to test_name dir and use the test_name.yml from there - it will sleep for an amount of time equals to timeout in minutes - it will perform health checks for containers. If healtcheck isn't enabled will check for running state - it will run hooks inside the test_name dir ( .py and .sh) if there are any - printing logs in any case
This commit is contained in:
82
tests/compose/core/core.yml
Normal file
82
tests/compose/core/core.yml
Normal file
@@ -0,0 +1,82 @@
|
||||
# This file is auto-generated by the Mailu configuration wizard.
|
||||
# Please read the documentation before attempting any change.
|
||||
# Generated for compose flavor
|
||||
|
||||
version: '3.6'
|
||||
|
||||
services:
|
||||
|
||||
# External dependencies
|
||||
redis:
|
||||
image: redis:alpine
|
||||
volumes:
|
||||
- "/mailu/redis:/data"
|
||||
|
||||
# Core services
|
||||
front:
|
||||
image: mailu/nginx:master
|
||||
env_file: mailu.env
|
||||
ports:
|
||||
- "127.0.0.1:80:80"
|
||||
- "::1:80:80"
|
||||
- "127.0.0.1:443:443"
|
||||
- "::1:443:443"
|
||||
- "127.0.0.1:25:25"
|
||||
- "::1:25:25"
|
||||
- "127.0.0.1:465:465"
|
||||
- "::1:465:465"
|
||||
- "127.0.0.1:587:587"
|
||||
- "::1:587:587"
|
||||
- "127.0.0.1:110:110"
|
||||
- "::1:110:110"
|
||||
- "127.0.0.1:995:995"
|
||||
- "::1:995:995"
|
||||
- "127.0.0.1:143:143"
|
||||
- "::1:143:143"
|
||||
- "127.0.0.1:993:993"
|
||||
- "::1:993:993"
|
||||
volumes:
|
||||
- "/mailu/certs:/certs"
|
||||
|
||||
|
||||
admin:
|
||||
image: mailu/admin:master
|
||||
env_file: mailu.env
|
||||
volumes:
|
||||
- "/mailu/data:/data"
|
||||
- "/mailu/dkim:/dkim"
|
||||
depends_on:
|
||||
- redis
|
||||
|
||||
imap:
|
||||
image: mailu/dovecot:master
|
||||
env_file: mailu.env
|
||||
volumes:
|
||||
- "/mailu/mail:/mail"
|
||||
- "/mailu/overrides:/overrides"
|
||||
depends_on:
|
||||
- front
|
||||
|
||||
smtp:
|
||||
image: mailu/postfix:master
|
||||
env_file: mailu.env
|
||||
volumes:
|
||||
- "/mailu/overrides:/overrides"
|
||||
depends_on:
|
||||
- front
|
||||
|
||||
# Optional services
|
||||
antispam:
|
||||
image: mailu/rspamd:master
|
||||
env_file: mailu.env
|
||||
volumes:
|
||||
- "/mailu/filter:/var/lib/rspamd"
|
||||
- "/mailu/dkim:/dkim"
|
||||
- "/mailu/overrides/rspamd:/etc/rspamd/override.d"
|
||||
depends_on:
|
||||
- front
|
||||
|
||||
|
||||
|
||||
# Webmail
|
||||
|
||||
Reference in New Issue
Block a user