fix: first
This commit is contained in:
parent
7fa6648d6c
commit
e7f3f387ce
|
@ -43,10 +43,10 @@ services:
|
|||
networks:
|
||||
- mattermost_network
|
||||
volumes:
|
||||
- mattermost_data:/mattermost/data
|
||||
- mattermost_config:/mattermost/config
|
||||
- mattermost_logs:/mattermost/logs
|
||||
- mattermost_plugins:/mattermost/plugins
|
||||
- ./mattermost_data:/mattermost/data
|
||||
- ./mattermost_config:/mattermost/config
|
||||
- ./mattermost_logs:/mattermost/logs
|
||||
- ./mattermost_plugins:/mattermost/plugins
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8065/api/v4/system/ping"]
|
||||
|
@ -65,7 +65,7 @@ services:
|
|||
POSTGRES_PASSWORD: mattermost_password
|
||||
POSTGRES_INITDB_ARGS: "--encoding=UTF8 --lc-collate=C --lc-ctype=C"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./postgres_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- mattermost_network
|
||||
restart: unless-stopped
|
||||
|
@ -80,9 +80,5 @@ networks:
|
|||
mattermost_network:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
mattermost_data:
|
||||
mattermost_config:
|
||||
mattermost_logs:
|
||||
mattermost_plugins:
|
||||
postgres_data:
|
||||
# 使用绑定挂载,数据存储在当前目录下
|
||||
# volumes 部分已删除,因为使用 ./目录 的绑定挂载
|
||||
|
|
Loading…
Reference in New Issue