hydra-sql/Makefile

17 lines
400 B
Makefile
Raw Normal View History

CI_COMPOSE=FIXUID=$(shell id -u) FIXGID=$(shell id -g) docker-compose -f docker-compose.yml
2022-05-03 08:54:45 +02:00
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
2022-05-03 08:54:45 +02:00
loginappsql-shell:
$(CI_COMPOSE) exec \
2022-05-03 08:54:45 +02:00
-u "$(loginappsql_SHELL_USER)" \
loginappsql \
/bin/bash