Downgrade MM to release 9 as subpath (URL prefix) are not entirely supported in release 10
This commit is contained in:
parent
976079c4ab
commit
ee108bd190
@ -48,7 +48,7 @@
|
|||||||
containers.podman.podman_image:
|
containers.podman.podman_image:
|
||||||
name: docker.io/{{ item }}
|
name: docker.io/{{ item }}
|
||||||
loop:
|
loop:
|
||||||
- mattermost/mattermost-team-edition:release-10
|
- mattermost/mattermost-team-edition:release-9
|
||||||
- postgres:13-alpine
|
- postgres:13-alpine
|
||||||
|
|
||||||
- name: Create postgres instance
|
- name: Create postgres instance
|
||||||
@ -86,7 +86,7 @@
|
|||||||
become: true
|
become: true
|
||||||
containers.podman.podman_container:
|
containers.podman.podman_container:
|
||||||
name: mattermost
|
name: mattermost
|
||||||
image: docker.io/mattermost/mattermost-team-edition:release-10
|
image: docker.io/mattermost/mattermost-team-edition:release-9
|
||||||
state: present
|
state: present
|
||||||
network:
|
network:
|
||||||
- traefik-mattermost
|
- traefik-mattermost
|
||||||
@ -120,10 +120,18 @@
|
|||||||
traefik.docker.network: "traefik-mattermost"
|
traefik.docker.network: "traefik-mattermost"
|
||||||
env:
|
env:
|
||||||
TZ: "{{ vault_timezone }}"
|
TZ: "{{ vault_timezone }}"
|
||||||
|
# https://docs.mattermost.com/configure/environment-configuration-settings.html
|
||||||
MM_SQLSETTINGS_DRIVERNAME: "postgres"
|
MM_SQLSETTINGS_DRIVERNAME: "postgres"
|
||||||
MM_SQLSETTINGS_DATASOURCE: "postgres://{{ vault_mattermost_db_user }}:{{ vault_mattermost_db_password }}@db_mattermost:5432/{{ vault_mattermost_db_database }}?sslmode=disable&connect_timeout=10"
|
MM_SQLSETTINGS_DATASOURCE: "postgres://{{ vault_mattermost_db_user }}:{{ vault_mattermost_db_password }}@db_mattermost:5432/{{ vault_mattermost_db_database }}?sslmode=disable&connect_timeout=10"
|
||||||
MM_BLEVESETTINGS_INDEXDIR: "/mattermost/bleve-indexes"
|
MM_BLEVESETTINGS_INDEXDIR: "/mattermost/bleve-indexes"
|
||||||
MM_SERVICESETTINGS_SITEURL: https://{{ vault_domain }}/mattermost
|
MM_SERVICESETTINGS_SITEURL: "https://{{ vault_domain }}/mattermost"
|
||||||
|
MM_EMAILSETTINGS_SMTPSERVER: "{{ vault_smtp_host }}"
|
||||||
|
MM_EMAILSETTINGS_SMTPPORT: "{{ vault_smtp_port }}"
|
||||||
|
MM_EMAILSETTINGS_ENABLESMTPAUTH: "true"
|
||||||
|
MM_EMAILSETTINGS_SMTPUSERNAME: "{{ vault_smtp_user }}"
|
||||||
|
MM_EMAILSETTINGS_SMTPPASSWORD: "{{ vault_smtp_password }}"
|
||||||
|
MM_EMAILSETTINGS_CONNECTIONSECURITY: "{{ vault_smtp_protocol }}"
|
||||||
|
MM_SERVICESETTINGS_ENABLESECURITYFIXALERT: "true"
|
||||||
generate_systemd:
|
generate_systemd:
|
||||||
path: /home/containers/.config/systemd/user/
|
path: /home/containers/.config/systemd/user/
|
||||||
restart_policy: on-failure
|
restart_policy: on-failure
|
||||||
|
Loading…
Reference in New Issue
Block a user