14 lines
482 B
Makefile
14 lines
482 B
Makefile
PHONY: all
|
|
|
|
dockerized:
|
|
docker-compose -f compose/docker-compose.yml down
|
|
docker-compose -f compose/docker-compose.yml up --build -d
|
|
|
|
dev:
|
|
killall main || echo "Process was not running."
|
|
docker-compose -f compose/docker-compose_outside_docker.yml down
|
|
docker-compose -f compose/docker-compose_outside_docker.yml up -d db
|
|
docker-compose -f compose/docker-compose_outside_docker.yml up -d smtp
|
|
go run -race main.go --config=config/config_outside_docker.yaml &
|
|
|
|
all: dockerized
|