support local development with docker

This commit is contained in:
Saso Matejina
2017-12-05 10:42:52 -08:00
parent 7af2ff20a8
commit 61c32ee175
3 changed files with 60 additions and 0 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
up:
docker-compose up -d redis postgres s3
docker-compose run --rm outline yarn sequelize db:migrate
docker-compose up outline
build:
docker-compose build --pull outline
destroy:
docker-compose stop
docker-compose rm -f
.PHONY: up build destroy # let's go to reserve rules names