blob: 0ca7344dc72597b8b654e0dbbd4ca532df7f45c5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
.PHONY: dev-infra-up
dev-infra-up:
docker compose -f ./contrib/dev/docker-compose.yml up -d
.PHONY: dev-infra-stop
dev-infra-stop:
docker compose -f ./contrib/dev/docker-compose.yml stop
.PHONY: dev-infra-down
dev-infra-down:
docker compose -f ./contrib/dev/docker-compose.yml down
.PHONY: generate
generate:
go generate ./...
templ generate
.PHONY: deploy
deploy: generate
docker build -t gitrepo.ru/neonxp/shorg:latest .
docker push gitrepo.ru/neonxp/shorg:latest
docker context use curie
docker compose -f ./contrib/prod/docker-compose.yml --project-name shorg pull app
docker compose -f ./contrib/prod/docker-compose.yml --project-name shorg up --force-recreate --build -d
docker image prune -f
docker context use default
|