@@ -5,7 +5,7 @@ services:
5
5
- .env
6
6
volumes :
7
7
- gewisdb_postgresql:/var/lib/postgresql/data:rw
8
- - ./docker/pgadmin/create-gewisdb_report -database.sh:/docker-entrypoint-initdb.d/create-database.sh
8
+ - ./docker/pgadmin/create-gewisdb -database.sh:/docker-entrypoint-initdb.d/create-database.sh
9
9
networks :
10
10
- gewisdb_network
11
11
ports :
@@ -29,8 +29,46 @@ services:
29
29
image : mailhog/mailhog
30
30
ports :
31
31
- " 8025:8025"
32
+ mailman-core :
33
+ image : maxking/mailman-core:0.4
34
+ container_name : mailman-core
35
+ hostname : mailman-core
36
+ volumes :
37
+ - ./mailman/core:/opt/mailman/
38
+ depends_on :
39
+ - postgresql
40
+ environment :
41
+ - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgresql/${POSTGRES_MAILMAN_DATABASE}
42
+ - DATABASE_TYPE=postgres
43
+ - DATABASE_CLASS=mailman.database.postgresql.PostgreSQLDatabase
44
+ - HYPERKITTY_API_KEY=somerandomapikeythatiobviouslydidnotcreatemyself
45
+ ports :
46
+ - " 8020:8001"
47
+ networks :
48
+ - gewisdb_network
49
+ mailman-web :
50
+ image : maxking/mailman-web:0.4
51
+ container_name : mailman-web
52
+ hostname : mailman-web
53
+ depends_on :
54
+ - postgresql
55
+ volumes :
56
+ - ./mailman/web:/opt/mailman-web-data/
57
+ environment :
58
+ - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgresql/${POSTGRES_MAILMAN_DATABASE}
59
+ - DATABASE_TYPE=postgres
60
+ - HYPERKITTY_API_KEY=somerandomapikeythatiobviouslydidnotcreatemyself
61
+ - SECRET_KEY=anotherandomkeythatiobviouslydidnotcreatemyself
62
+ - SERVE_FROM_DOMAIN=localhost
63
+ - UWSGI_STATIC_MAP=/static=/opt/mailman-web-data/static
64
+ ports :
65
+ - " 8021:8000"
66
+ networks :
67
+ - gewisdb_network
32
68
nginx :
33
69
build : docker/nginx
70
+ volumes :
71
+ - ./mailman/web/static:/var/html/mailman/
34
72
ports :
35
73
- " 80:9725"
36
74
stripe :
@@ -50,6 +88,7 @@ services:
50
88
dockerfile : docker/web/development/Dockerfile
51
89
context : .
52
90
depends_on :
91
+ - mailman-core
53
92
- postgresql
54
93
55
94
volumes :
0 commit comments