fix(templates): remove mattermost healthcheck command according to lack of shell in new version

This commit is contained in:
Amir Hossein Karimi 2025-09-04 16:02:48 +03:30
parent 545b6cecc7
commit e9b4c19f7a
No known key found for this signature in database
GPG key ID: B25445C4146B0C1F

View file

@ -10,12 +10,12 @@ services:
image: mattermost/mattermost-team-edition:release-10
platform: linux/amd64
volumes:
- 'mattermost-data-config:/mattermost/config:rw'
- 'mattermost-data-data:/mattermost/data:rw'
- 'mattermost-data-logs:/mattermost/logs:rw'
- 'mattermost-data-plugins:/mattermost/plugins:rw'
- 'mattermost-data-client-plugins:/mattermost/client/plugins:rw'
- 'mattermost-data-bleve-indexes:/mattermost/bleve-indexes:rw'
- "mattermost-data-config:/mattermost/config:rw"
- "mattermost-data-data:/mattermost/data:rw"
- "mattermost-data-logs:/mattermost/logs:rw"
- "mattermost-data-plugins:/mattermost/plugins:rw"
- "mattermost-data-client-plugins:/mattermost/client/plugins:rw"
- "mattermost-data-bleve-indexes:/mattermost/bleve-indexes:rw"
environment:
- SERVICE_URL_MATTERMOST_8065
- MM_SERVICESETTINGS_SITEURL=${SERVICE_URL_MATTERMOST}
@ -26,11 +26,6 @@ services:
depends_on:
postgres:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:8065"]
interval: 5s
timeout: 20s
retries: 10
postgres:
image: postgres:16-alpine