Use named volumes for mattermost.

This commit is contained in:
2022-01-06 16:10:01 +01:00
parent aab56a0e40
commit 2ce386eb16

View File

@@ -9,8 +9,16 @@ networks:
volumes:
semaphore:
name: semaphore
mattermost:
name: mattermost
mattermost-config:
name: mattermost-config
mattermost-client-plugins:
name: mattermost-client-plugins
mattermost-plugins:
name: mattermost-plugins
mattermost-logs:
name: mattermost-logs
services:
semaphore:
@@ -54,7 +62,11 @@ services:
- proxy
- internal
volumes:
- mattermost:/mattermost/data
- mattermost-config:/mattermost/config:rw
- mattermost-client-plugins:/mattermost/client/plugins
- mattermost-plugins:/mattermost/plugins
- mattermost-logs:/mattermost/logs
labels:
- "traefik.enable=true"
- "traefik.http.routers.mattermost.entrypoints=web"