Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 32d75e5e21 | |||
| 53c1801eba |
3 changed files with 10 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
docker_compose__compose_file_content: "{{ lookup('ansible.builtin.template', 'resources/chaosknoten/lists/docker_compose/compose.yaml.j2') }}"
|
||||
docker_compose__configuration_files:
|
||||
- name: mailman-extra.cfg
|
||||
content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/lists/docker_compose/mailman-extra.cfg') }}"
|
||||
- name: settings_local.py
|
||||
content: "{{ lookup('ansible.builtin.file', 'resources/chaosknoten/lists/docker_compose/settings_local.py') }}"
|
||||
docker_compose__files: resources/chaosknoten/lists/docker_compose/files
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ services:
|
|||
- database:database
|
||||
volumes:
|
||||
- /opt/mailman/web:/opt/mailman-web-data
|
||||
- ./configs/mailman-extra.cfg:/opt/mailman/core/mailman-extra.cfg
|
||||
- ./configs/settings_local.py:/opt/mailman-web/settings_local.py
|
||||
- ./files/templates:/opt/mailman-web/templates
|
||||
environment:
|
||||
|
|
@ -62,7 +63,7 @@ services:
|
|||
- POSTGRES_DB=mailmandb
|
||||
- POSTGRES_USER=mailman
|
||||
- "POSTGRES_PASSWORD={{ secret__lists__postgres_password }}"
|
||||
image: docker.io/library/postgres:12-alpine
|
||||
image: docker.io/library/postgres:15-alpine
|
||||
volumes:
|
||||
- /opt/mailman/database:/var/lib/postgresql/data
|
||||
networks:
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
# Override Mailman configuration settings
|
||||
# See https://github.com/maxking/docker-mailman#configuration
|
||||
# and https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/config/docs/config.html
|
||||
|
||||
[mailman]
|
||||
pending_request_life: 7d
|
||||
Loading…
Reference in a new issue