2022-04-07 13:07:00 +02:00
|
|
|
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:
|
2022-04-07 13:07:00 +02:00
|
|
|
|
|
|
|
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:
|
2022-04-07 13:07:00 +02:00
|
|
|
$(CI_COMPOSE) exec \
|
2022-05-03 08:54:45 +02:00
|
|
|
-u "$(loginappsql_SHELL_USER)" \
|
|
|
|
loginappsql \
|
2022-04-07 13:07:00 +02:00
|
|
|
/bin/bash
|