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