mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
make nb-fast
restarts all services without rebuilding
This commit is contained in:
parent
856eb5c937
commit
e2ef0666ba
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -8,6 +8,8 @@ newsblur := $(shell $(TIMEOUT_CMD) 2s docker ps -qf "name=newsblur_web")
|
||||||
.PHONY: node
|
.PHONY: node
|
||||||
|
|
||||||
nb: pull bounce migrate bootstrap collectstatic
|
nb: pull bounce migrate bootstrap collectstatic
|
||||||
|
nb-fast: pull bounce-fast migrate bootstrap collectstatic
|
||||||
|
nbfast: nb-fast
|
||||||
|
|
||||||
metrics:
|
metrics:
|
||||||
RUNWITHMAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker compose -f docker-compose.yml -f docker-compose.metrics.yml up -d
|
RUNWITHMAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker compose -f docker-compose.yml -f docker-compose.metrics.yml up -d
|
||||||
|
@ -23,6 +25,10 @@ bounce:
|
||||||
[[ -d config/certificates ]] && echo "keys exist" || make keys
|
[[ -d config/certificates ]] && echo "keys exist" || make keys
|
||||||
RUNWITHMAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker compose up -d --build --remove-orphans
|
RUNWITHMAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker compose up -d --build --remove-orphans
|
||||||
|
|
||||||
|
bounce-fast:
|
||||||
|
RUNWITHMAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker compose down
|
||||||
|
RUNWITHMAKEBUILD=True CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker compose up -d --remove-orphans
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
docker exec newsblur_web ./manage.py loaddata config/fixtures/bootstrap.json
|
docker exec newsblur_web ./manage.py loaddata config/fixtures/bootstrap.json
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue