mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Adds dev db for postgres so that one doesn't need to make it manually. (#7924)
This commit is contained in:
committed by
Christopher Speller
parent
daebd26a28
commit
8701479e1a
2
Makefile
2
Makefile
@@ -109,7 +109,7 @@ start-docker:
|
||||
|
||||
@if [ $(shell docker ps -a | grep -ci mattermost-postgres) -eq 0 ]; then \
|
||||
echo starting mattermost-postgres; \
|
||||
docker run --name mattermost-postgres -p 5432:5432 -e POSTGRES_USER=mmuser -e POSTGRES_PASSWORD=mostest \
|
||||
docker run --name mattermost-postgres -p 5432:5432 -e POSTGRES_USER=mmuser -e POSTGRES_PASSWORD=mostest -e POSTGRES_DB=mattermost_test \
|
||||
-d postgres:9.4 > /dev/null; \
|
||||
elif [ $(shell docker ps | grep -ci mattermost-postgres) -eq 0 ]; then \
|
||||
echo restarting mattermost-postgres; \
|
||||
|
||||
Reference in New Issue
Block a user