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

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

debug:
	@docker compose -f ./debug/dockerfile-debug up

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