17 lines
388 B
Makefile
17 lines
388 B
Makefile
CI_COMPOSE=FIXUID=$(shell id -u) FIXGID=$(shell id -g) docker-compose -f docker-compose.yml
|
|
LOGINAPP_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
|
|
|
|
loginapp-shell:
|
|
$(CI_COMPOSE) exec \
|
|
-u "$(LOGINAPP_SHELL_USER)" \
|
|
loginapp \
|
|
/bin/bash
|