Docker Compose refactoring
This commit is contained in:
parent
7a2a667aaf
commit
a53a26f4c0
36 changed files with 411 additions and 524 deletions
8
Makefile
8
Makefile
|
|
@ -63,19 +63,19 @@ create-admin-user:
|
|||
@test -f .env || echo "You must create .env please refer to the README" && exit 1
|
||||
|
||||
start: .env
|
||||
CURRENT_UID=$(CURRENT_UID) docker-compose up -d
|
||||
CURRENT_UID=$(CURRENT_UID) docker compose -f docker-compose.link.yml up -d
|
||||
|
||||
start-dev: .env
|
||||
CURRENT_UID=$(CURRENT_UID) docker-compose up --build -d
|
||||
CURRENT_UID=$(CURRENT_UID) docker compose up --build -d
|
||||
|
||||
restart: .env
|
||||
CURRENT_UID=$(CURRENT_UID) docker restart $(shell docker ps -a -q)
|
||||
|
||||
stop:
|
||||
CURRENT_UID=$(CURRENT_UID) docker-compose down
|
||||
CURRENT_UID=$(CURRENT_UID) docker compose down
|
||||
|
||||
destroy:
|
||||
docker-compose down
|
||||
docker compose down
|
||||
docker volume prune
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue