aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 18210683bdffc2994d191c4b925a897d3b99b10b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
build:
	@docker build -t dbasik:latest .

run-container:
	@docker run -it --rm -p 4000:4000 dbasik:latest

run:
	@docker compose up -d

migrate:
	docker exec -it dbasik-db-1 migrate -path=${DBASIK_DB_DSN} -database= up

migrate-down:
	docker exec -it dbasik-db-1 migrate -path=${DBASIK_DB_DSN} -database= down