12-23
This commit is contained in:
@ -7,11 +7,16 @@ Environment="MM_SERVICESETTINGS_SITEURL=https://mattermost.phares.duckdns.org"
|
||||
Environment="MM_SQLSETTINGS_DATASOURCE=postgres://mmuser:mmuser_password@192.168.11.2:5436/mattermost?sslmode=disable&connect_timeout=10"
|
||||
Environment="MM_SQLSETTINGS_DRIVERNAME=postgres"
|
||||
Environment="TZ=US/Arizona"
|
||||
Image=docker.io/mattermost/mattermost-team-edition:9.11.2
|
||||
# HealthCmd="curl -f http://192.168.11.2:8443/api/v4/system/ping || exit 1"
|
||||
# HealthCmd="curl -f https://mattermost.phares.duckdns.org/api/v4/system/ping || exit 1"
|
||||
HealthCmd="ls"
|
||||
# Image=docker.io/mattermost/mattermost-team-edition:9.11.2
|
||||
Image=docker.io/mattermost/mattermost-team-edition:release-10.3
|
||||
# Network=mattermost.network
|
||||
# Pod=mattermost.pod
|
||||
# PublishPort=8065:8065
|
||||
PublishPort=8443:8443
|
||||
# PublishPort=8443:8443
|
||||
PublishPort=8443:8065
|
||||
Volume=/etc/localtime:/etc/localtime:ro
|
||||
Volume=/etc/timezone:/etc/timezone:ro
|
||||
Volume=mattermost-server-bleve.volume:/mattermost/bleve-indexes:rw
|
||||
@ -32,10 +37,11 @@ Requires=mattermost-db.service
|
||||
[Install]
|
||||
WantedBy=multi-user.target default.target
|
||||
|
||||
# podman pull docker.io/mattermost/mattermost-team-edition:release-10.3
|
||||
# podman pull docker.io/mattermost/mattermost-team-edition:9.11.2
|
||||
# systemctl --user daemon-reload
|
||||
# systemctl --user start mattermost-server
|
||||
# systemctl --user status mattermost-server
|
||||
# systemctl --user status mattermost-server --lines=999
|
||||
# journalctl -fu mattermost-server.service
|
||||
# podman logs mattermost-server
|
||||
# systemctl --user stop mattermost-server
|
||||
|
Reference in New Issue
Block a user