fix(templates): remove mattermost healthcheck command according to lack of shell in new version
This commit is contained in:
parent
545b6cecc7
commit
e9b4c19f7a
1 changed files with 6 additions and 11 deletions
|
|
@ -10,12 +10,12 @@ services:
|
||||||
image: mattermost/mattermost-team-edition:release-10
|
image: mattermost/mattermost-team-edition:release-10
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
volumes:
|
volumes:
|
||||||
- 'mattermost-data-config:/mattermost/config:rw'
|
- "mattermost-data-config:/mattermost/config:rw"
|
||||||
- 'mattermost-data-data:/mattermost/data:rw'
|
- "mattermost-data-data:/mattermost/data:rw"
|
||||||
- 'mattermost-data-logs:/mattermost/logs:rw'
|
- "mattermost-data-logs:/mattermost/logs:rw"
|
||||||
- 'mattermost-data-plugins:/mattermost/plugins:rw'
|
- "mattermost-data-plugins:/mattermost/plugins:rw"
|
||||||
- 'mattermost-data-client-plugins:/mattermost/client/plugins:rw'
|
- "mattermost-data-client-plugins:/mattermost/client/plugins:rw"
|
||||||
- 'mattermost-data-bleve-indexes:/mattermost/bleve-indexes:rw'
|
- "mattermost-data-bleve-indexes:/mattermost/bleve-indexes:rw"
|
||||||
environment:
|
environment:
|
||||||
- SERVICE_URL_MATTERMOST_8065
|
- SERVICE_URL_MATTERMOST_8065
|
||||||
- MM_SERVICESETTINGS_SITEURL=${SERVICE_URL_MATTERMOST}
|
- MM_SERVICESETTINGS_SITEURL=${SERVICE_URL_MATTERMOST}
|
||||||
|
|
@ -26,11 +26,6 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
healthcheck:
|
|
||||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:8065"]
|
|
||||||
interval: 5s
|
|
||||||
timeout: 20s
|
|
||||||
retries: 10
|
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue