-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
93 lines (92 loc) · 2.59 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: '3'
services:
app:
restart: always
container_name: uw-mailman3-core
build:
context: .
environment:
ENV: localdev
HYPERKITTY_CONFIG_TEMPLATE: |
[general]
base_url: http://mailman-web-prod-test/hyperkitty/
api_key: someapikey
MAILMAN_CONFIG_TEMPLATE: |
[paths.master]
var_dir: /app/mailman/var
[database]
url: sqlite:////app/mailman/sqlite.db
[runner.retry]
sleep_time: 10s
[webservice]
hostname: 127.0.0.1
port: 8000
admin_user: restadmin
admin_pass: restpass
configuration: /app/mailman/var/etc/gunicorn.cfg
[archiver.hyperkitty]
class: mailman_hyperkitty.Archiver
enable: yes
configuration: /app/mailman/var/etc/mailman-hyperkitty.cfg
[mta]
incoming: mailman.mta.postfix.LMTP
outgoing: mailman.mta.deliver.deliver
lmtp_host: 127.0.0.1
lmtp_port: 8024
smtp_host: 127.0.0.1
smtp_port: 25
configuration: /app/mailman/var/etc/postfix-mailman.cfg
[mailman]
site_owner: [email protected]
[logging.root]
path: /dev/stdout
[logging.archiver]
path: /dev/stdout
[logging.bounce]
path: /dev/stdout
[logging.config]
path: /dev/stdout
[logging.database]
path: /dev/stdout
[logging.debug]
path: /dev/stdout
[logging.error]
path: /dev/stdout
[logging.fromusenet]
path: /dev/stdout
[logging.http]
path: /dev/stdout
[logging.mischief]
path: /dev/stdout
[logging.plugins]
path: /dev/stdout
[logging.rest]
path: /dev/stdout
[logging.runner]
path: /dev/stdout
[logging.smtp]
path: /dev/stdout
[logging.subscribe]
path: /dev/stdout
[logging.task]
path: /dev/stdout
[logging.template]
path: /dev/stdout
[logging.vette]
path: /dev/stdout
POSTFIX_CONFIG_TEMPLATE: |
[postfix]
transport_file_type: regex
postmap_command: true
GUNICORN_CONFIG_TEMPLATE: |
[gunicorn]
graceful_timeout = 30
timeout = 360
command: >-
/bin/bash
-c
'echo "$$MAILMAN_CONFIG_TEMPLATE" > /config/mailman.tpl;
echo "$$HYPERKITTY_CONFIG_TEMPLATE" > /config/mailman-hyperkitty.tpl;
echo "$$POSTFIX_CONFIG_TEMPLATE" > /config/postfix-mailman.tpl;
echo "$$GUNICORN_CONFIG_TEMPLATE" > /config/gunicorn.tpl;
/scripts/start.sh'