Amélioration de la structure du projet et démarrage de Docker OK
This commit is contained in:
17
Makefile
Normal file
17
Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
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
|
Reference in New Issue
Block a user