hydra-sql/Makefile
2022-05-03 08:54:45 +02:00

17 lines
400 B
Makefile

CI_COMPOSE=FIXUID=$(shell id -u) FIXGID=$(shell id -g) docker-compose -f docker-compose.yml
loginappsql_SHELL_USER ?= www-data:
up:
FIXUID=$(shell id -u) FIXGID=$(shell id -g) docker-compose up --build
down:
docker-compose down -v
purge:
docker-compose down -v --remove-orphans --rmi local
loginappsql-shell:
$(CI_COMPOSE) exec \
-u "$(loginappsql_SHELL_USER)" \
loginappsql \
/bin/bash